Interface LocationSdo
- All Superinterfaces:
BundleableObject,DomainObject,SdoDefaultValidator,Serializable,Stix,StixCommonProperties,StixCustomProperties,StixLabels,StixModified,StixRevoked,StixSpecVersion
- All Known Implementing Classes:
Location
@Immutable
@DefaultTypeValue(value="location",
groups=DefaultValuesProcessor.class)
@Redactable
public interface LocationSdo
extends DomainObject
location
A Location represents a geographic location. This object is part of STIX 2.1 specification.
-
Field Summary
Fields inherited from interface security.whisper.javastix.validation.SdoDefaultValidator
VALIDATOR -
Method Summary
Methods inherited from interface security.whisper.javastix.sdo.DomainObject
getRelationshipsMethods inherited from interface security.whisper.javastix.validation.SdoDefaultValidator
validate, validateOnlyIdMethods inherited from interface security.whisper.javastix.common.StixCommonProperties
checkHydrationValidation, getCreated, getCreatedByRef, getExternalReferences, getGranularMarkings, getHydrated, getId, getLang, getObjectMarkingRefs, getType, toJsonStringMethods inherited from interface security.whisper.javastix.common.StixCustomProperties
getCustomPropertiesMethods inherited from interface security.whisper.javastix.common.StixLabels
getLabelsMethods inherited from interface security.whisper.javastix.common.StixModified
getModifiedMethods inherited from interface security.whisper.javastix.common.StixRevoked
getRevokedMethods inherited from interface security.whisper.javastix.common.StixSpecVersion
getSpecVersion
-
Method Details
-
getName
@JsonPropertyDescription("A name used to identify the Location.") @Redactable Optional<String> getName() -
getDescription
@JsonPropertyDescription("A textual description of the Location.") @Redactable Optional<String> getDescription() -
getLatitude
@JsonPropertyDescription("The latitude of the Location in decimal degrees.") @Redactable Optional<Double> getLatitude() -
getLongitude
@JsonPropertyDescription("The longitude of the Location in decimal degrees.") @Redactable Optional<Double> getLongitude() -
getPrecision
@JsonPropertyDescription("Defines the precision of the coordinates specified by the latitude and longitude properties in meters.") @Redactable Optional<Double> getPrecision() -
getRegion
@JsonPropertyDescription("The region that this Location describes. Open Vocabulary: region-ov") @Redactable Optional<String> getRegion() -
getCountry
@JsonPropertyDescription("The country that this Location describes (ISO 3166-1 ALPHA-2 Code).") @Redactable Optional<String> getCountry() -
getAdministrativeArea
@JsonPropertyDescription("The state, province, or other sub-national administrative area that this Location describes.") @Redactable Optional<String> getAdministrativeArea() -
getCity
@JsonPropertyDescription("The city that this Location describes.") @Redactable Optional<String> getCity() -
getStreetAddress
@JsonPropertyDescription("The street address that this Location describes.") @Redactable Optional<String> getStreetAddress() -
getPostalCode
@JsonPropertyDescription("The postal code for this Location.") @Redactable Optional<String> getPostalCode()
-