java.lang.Object
com.esri.arcgisruntime.data.Contingency
An object that defines a contingency.
- Since:
- 100.13.0
-
Method Summary
Modifier and TypeMethodDescriptionint
Gets the contingency's unique id.Gets the subtype to which this contingency is applied.Gets the contingency's values.boolean
Gets a boolean indicating if the contingency is retired or not.
-
Method Details
-
getContingencyId
public int getContingencyId()Gets the contingency's unique id.- Returns:
- the contingency's unique id
- Since:
- 100.13.0
-
isRetired
public boolean isRetired()Gets a boolean indicating if the contingency is retired or not.When a contingency is retired, it means that its presence in existing data is acceptable, but that it should not be presented as an option when editing. It is typically used to express that a value is no longer valid, such as using asbestos as a building material.
- Returns:
- a boolean indicating if the contingency is retired or not
- Since:
- 100.13.0
-
getSubtype
Gets the subtype to which this contingency is applied.- Returns:
- the subtype to which this contingency is applied, or null if none
- Since:
- 100.13.0
-
getValues
Gets the contingency's values.Returns a unmodifiable map of field names to the value defined for that field in this contingency.
- Returns:
- the contingency's values
- Since:
- 100.13.0
-