Class DirectReferenceSystem
java.lang.Object
org.apache.sis.internal.simple.SimpleIdentifiedObject
org.apache.sis.internal.jaxb.metadata.replace.ReferenceSystemMetadata
org.apache.sis.internal.profile.fra.DirectReferenceSystem
- All Implemented Interfaces:
Serializable,LenientComparable,org.opengis.referencing.IdentifiedObject,org.opengis.referencing.ReferenceSystem
AFNOR extension to ISO
ReferenceSystem.
The following schema fragment specifies the expected content contained within this class.
- Since:
- 0.4
- Version:
- 0.4
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final longFor serialization purpose.Fields inherited from class org.apache.sis.internal.simple.SimpleIdentifiedObject
nameFields inherited from interface org.opengis.referencing.IdentifiedObject
ALIAS_KEY, IDENTIFIERS_KEY, NAME_KEY, REMARKS_KEYFields inherited from interface org.opengis.referencing.ReferenceSystem
DOMAIN_OF_VALIDITY_KEY, SCOPE_KEY -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateEmpty constructor for JAXB.DirectReferenceSystem(org.opengis.referencing.ReferenceIdentifier identifier) Creates a new reference system from the given code.DirectReferenceSystem(org.opengis.referencing.ReferenceSystem crs) Creates a new reference system from the given one. -
Method Summary
Modifier and TypeMethodDescriptionbooleanequals(Object object, ComparisonMode mode) Compares this object with the given one for equality.Methods inherited from class org.apache.sis.internal.jaxb.metadata.replace.ReferenceSystemMetadata
getName, setNameMethods inherited from class org.apache.sis.internal.simple.SimpleIdentifiedObject
equals, getAlias, getDomainOfValidity, getIdentifiers, getRemarks, getScope, hashCode, toString, toWKTMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.opengis.referencing.IdentifiedObject
getAlias, getIdentifiers, getRemarks, toWKTMethods inherited from interface org.opengis.referencing.ReferenceSystem
getDomainOfValidity, getScope
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDFor serialization purpose.- See Also:
-
-
Constructor Details
-
DirectReferenceSystem
private DirectReferenceSystem()Empty constructor for JAXB. -
DirectReferenceSystem
public DirectReferenceSystem(org.opengis.referencing.ReferenceSystem crs) Creates a new reference system from the given one.- Parameters:
crs- the reference system to partially copy.
-
DirectReferenceSystem
public DirectReferenceSystem(org.opengis.referencing.ReferenceIdentifier identifier) Creates a new reference system from the given code.- Parameters:
identifier- the reference system identifier.
-
-
Method Details
-
equals
Compares this object with the given one for equality.- Specified by:
equalsin interfaceLenientComparable- Overrides:
equalsin classReferenceSystemMetadata- Parameters:
object- the object to compare with this reference system.mode- the strictness level of the comparison.- Returns:
trueif both objects are equal.- See Also:
-