Package org.geotools.feature.type
Class AssociationTypeImpl
Object
PropertyTypeImpl
AssociationTypeImpl
- All Implemented Interfaces:
AssociationType
,PropertyType
-
Field Summary
FieldsFields inherited from class PropertyTypeImpl
binding, description, isAbstract, name, restrictions, superType, userData
-
Constructor Summary
ConstructorsConstructorDescriptionAssociationTypeImpl
(Name name, AttributeType referenceType, boolean isAbstract, List<Filter> restrictions, AssociationType superType, InternationalString description) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Equality based on propertyPropertyType.getName()
.The attribute type of the related attribute in the association.getSuper()
The parent type of the property type.int
hashCode()
Hashcode override based onPropertyType.getName()
.toString()
Methods inherited from class PropertyTypeImpl
getBinding, getDescription, getName, getRestrictions, getUserData, isAbstract
Methods inherited from interface AssociationType
getBinding
Methods inherited from interface PropertyType
getDescription, getName, getRestrictions, getUserData, isAbstract
-
Field Details
-
Constructor Details
-
AssociationTypeImpl
public AssociationTypeImpl(Name name, AttributeType referenceType, boolean isAbstract, List<Filter> restrictions, AssociationType superType, InternationalString description)
-
-
Method Details
-
getRelatedType
Description copied from interface:AssociationType
The attribute type of the related attribute in the association.- Specified by:
getRelatedType
in interfaceAssociationType
- Returns:
- The type of the related attribute.
-
getSuper
Description copied from interface:PropertyType
The parent type of the property type.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.
- Specified by:
getSuper
in interfaceAssociationType
- Specified by:
getSuper
in interfacePropertyType
- Overrides:
getSuper
in classPropertyTypeImpl
- Returns:
- The parent or super type, or
null
. - See Also:
-
hashCode
public int hashCode()Description copied from interface:PropertyType
Hashcode override based onPropertyType.getName()
.- Specified by:
hashCode
in interfacePropertyType
- Overrides:
hashCode
in classPropertyTypeImpl
- Returns:
- getName().hashCode()
-
equals
Description copied from interface:PropertyType
Equality based on propertyPropertyType.getName()
.- Specified by:
equals
in interfacePropertyType
- Overrides:
equals
in classPropertyTypeImpl
- Returns:
true
if other is a PropertyType with the same name
-
toString
- Overrides:
toString
in classPropertyTypeImpl
-