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, isAbstract
getBinding
getDescription, getName, getRestrictions, getUserData, isAbstract
protected final AttributeType relatedType
public AssociationTypeImpl(Name name, AttributeType referenceType, boolean isAbstract, List<Filter> restrictions, AssociationType superType, InternationalString description)
public AttributeType getRelatedType()
AssociationType
getRelatedType
in interface AssociationType
public AssociationType getSuper()
PropertyType
This 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 AssociationType
getSuper
in interface PropertyType
getSuper
in class PropertyTypeImpl
null
.PropertyType.getSuper()
public int hashCode()
PropertyType
PropertyType.getName()
.hashCode
in interface PropertyType
hashCode
in class PropertyTypeImpl
public boolean equals(Object other)
PropertyType
PropertyType.getName()
.equals
in interface PropertyType
equals
in class PropertyTypeImpl
true
if other is a PropertyType with the same namepublic String toString()
toString
in class PropertyTypeImpl
Copyright © 1996–2023 Geotools. All rights reserved.