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
ConstructorsModifierConstructorDescriptionprotected
AssociationImpl
(Attribute value, AssociationDescriptor descriptor) -
Method Summary
Methods inherited from class PropertyImpl
equals, getName, getUserData, getUserData, hashCode, isNillable, setValue, toString
Methods inherited from interface Association
setValue
Methods inherited from interface Property
getName, getUserData, hasUserData, isNillable
-
Constructor Details
-
AssociationImpl
-
-
Method Details
-
getRelatedType
Description copied from interface:Association
Returns the type of the associated attribute.This method is a convenience for:
getType().getRelatedType()
- Specified by:
getRelatedType
in interfaceAssociation
- Returns:
- type of the attribute of the association.
-
getDescriptor
Description copied from interface:Property
ThePropertyDscriptor
of 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
Feature
orComplexAttribute
.- Specified by:
getDescriptor
in interfaceAssociation
- Specified by:
getDescriptor
in interfaceProperty
- Overrides:
getDescriptor
in classPropertyImpl
- Returns:
- The property descriptor, null if this is a top-level value.
- See Also:
-
getType
Description copied from interface:Property
The 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:
getType
in interfaceAssociation
- Specified by:
getType
in interfaceProperty
- Overrides:
getType
in classPropertyImpl
- Returns:
- The property type.
- See Also:
-
getValue
Description copied from interface:Property
The 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:
getValue
in interfaceAssociation
- Specified by:
getValue
in interfaceProperty
- Overrides:
getValue
in classPropertyImpl
- Returns:
- The value of the property.
- See Also:
-