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, toStringsetValuegetName, getUserData, isNillableprotected AssociationImpl(Attribute value, AssociationDescriptor descriptor)
public AttributeType getRelatedType()
AssociationThis method is a convenience for:
getType().getRelatedType()
getRelatedType in interface Associationpublic AssociationDescriptor getDescriptor()
PropertyPropertyDscriptor 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 AssociationgetDescriptor in interface PropertygetDescriptor in class PropertyImplComplexAttributepublic AssociationType getType()
PropertyThe 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 AssociationgetType in interface PropertygetType in class PropertyImplProperty.getType()public Attribute getValue()
PropertyThe 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 AssociationgetValue in interface PropertygetValue in class PropertyImplProperty.getValue()Copyright © 1996–2019 Geotools. All rights reserved.