Package org.geotools.feature
Class AssociationImpl
Object
PropertyImpl
AssociationImpl
- All Implemented Interfaces:
Association,Property
-
Field Summary
Fields inherited from class PropertyImpl
descriptor, value -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAssociationImpl(Attribute value, AssociationDescriptor descriptor) -
Method Summary
Methods inherited from class PropertyImpl
equals, getName, getUserData, getUserData, hashCode, isNillable, setValue, toStringMethods inherited from interface Association
setValueMethods inherited from interface Property
getName, getUserData, hasUserData, isNillable
-
Constructor Details
-
AssociationImpl
-
-
Method Details
-
getRelatedType
Description copied from interface:AssociationReturns the type of the associated attribute.This method is a convenience for:
getType().getRelatedType()
- Specified by:
getRelatedTypein interfaceAssociation- Returns:
- type of the attribute of the association.
-
getDescriptor
Description copied from interface:PropertyThePropertyDscriptorof the property, null if this is a top-level value.The descriptor provides information about the property with respect to its containing entity (more often then not a
FeatureorComplexAttribute.- Specified by:
getDescriptorin interfaceAssociation- Specified by:
getDescriptorin interfaceProperty- Overrides:
getDescriptorin classPropertyImpl- Returns:
- The property descriptor, null if this is a top-level value.
- See Also:
-
getType
Description copied from interface:PropertyThe type of the property.The type contains information about the value or content of the property such as its java class.
This value is also available via
getDescriptor().getType().- Specified by:
getTypein interfaceAssociation- Specified by:
getTypein interfaceProperty- Overrides:
getTypein classPropertyImpl- Returns:
- The property type.
- See Also:
-
getValue
Description copied from interface:PropertyThe value or content of the property.The class of this object is defined by
getType().getBinding().This value may be
null. In this casegetDescriptor().isNillable()would betrue.- Specified by:
getValuein interfaceAssociation- Specified by:
getValuein interfaceProperty- Overrides:
getValuein classPropertyImpl- Returns:
- The value of the property.
- See Also:
-