public class AssociationTypeImpl extends PropertyTypeImpl implements AssociationType
| Modifier and Type | Field and Description |
|---|---|
protected AttributeType |
relatedType |
binding, description, isAbstract, name, restrictions, superType, userData| Constructor and Description |
|---|
AssociationTypeImpl(Name name,
AttributeType referenceType,
boolean isAbstract,
List<Filter> restrictions,
AssociationType superType,
InternationalString description) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other)
Equality based on property
PropertyType.getName(). |
AttributeType |
getRelatedType()
The attribute type of the related attribute in the association.
|
AssociationType |
getSuper()
The parent type of the property type.
|
int |
hashCode()
Hashcode override based on
PropertyType.getName(). |
String |
toString() |
getBinding, getDescription, getName, getRestrictions, getUserData, isAbstractgetBindinggetDescription, getName, getRestrictions, getUserData, isAbstractprotected final AttributeType relatedType
public AssociationTypeImpl(Name name, AttributeType referenceType, boolean isAbstract, List<Filter> restrictions, AssociationType superType, InternationalString description)
public AttributeType getRelatedType()
AssociationTypegetRelatedType in interface AssociationTypepublic AssociationType getSuper()
PropertyTypeThis method returns null if no super type is defined.
The super type may contain additional restrictions to be considered against properties of the the property type.
getSuper in interface AssociationTypegetSuper in interface PropertyTypegetSuper in class PropertyTypeImplnull.PropertyType.getSuper()public int hashCode()
PropertyTypePropertyType.getName().hashCode in interface PropertyTypehashCode in class PropertyTypeImplpublic boolean equals(Object other)
PropertyTypePropertyType.getName().equals in interface PropertyTypeequals in class PropertyTypeImpltrue if other is a PropertyType with the same namepublic String toString()
toString in class PropertyTypeImplCopyright © 1996–2021 Geotools. All rights reserved.