public class AssociationImpl extends PropertyImpl implements Association
descriptor, userData, value
Modifier | Constructor and Description |
---|---|
protected |
AssociationImpl(Attribute value,
AssociationDescriptor descriptor) |
Modifier and Type | Method and Description |
---|---|
AssociationDescriptor |
getDescriptor()
The
PropertyDscriptor of the property, null if this is a top-level value. |
AttributeType |
getRelatedType()
Returns the type of the associated attribute.
|
AssociationType |
getType()
The type of the property.
|
Attribute |
getValue()
The value or content of the property.
|
equals, getName, getUserData, hashCode, isNillable, setValue, toString
setValue
getName, getUserData, isNillable
protected AssociationImpl(Attribute value, AssociationDescriptor descriptor)
public AttributeType getRelatedType()
Association
This method is a convenience for:
getType().getRelatedType()
getRelatedType
in interface Association
public AssociationDescriptor getDescriptor()
Property
PropertyDscriptor
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
or ComplexAttribute
.
getDescriptor
in interface Association
getDescriptor
in interface Property
getDescriptor
in class PropertyImpl
ComplexAttribute
public AssociationType getType()
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()
.
getType
in interface Association
getType
in interface Property
getType
in class PropertyImpl
Property.getType()
public Attribute getValue()
Property
The class of this object is defined by getType().getBinding()
.
This value may be null
. In this case getDescriptor().isNillable()
would be true
.
getValue
in interface Association
getValue
in interface Property
getValue
in class PropertyImpl
Property.getValue()
Copyright © 1996–2019 Geotools. All rights reserved.