|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectPropertyImpl
AssociationImpl
public class AssociationImpl
Field Summary |
---|
Fields inherited from class PropertyImpl |
---|
descriptor, userData, value |
Constructor Summary | |
---|---|
protected |
AssociationImpl(Attribute value,
AssociationDescriptor descriptor)
|
Method Summary | |
---|---|
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. |
Methods inherited from class PropertyImpl |
---|
equals, getName, getUserData, hashCode, isNillable, setValue, toString |
Methods inherited from class Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface Association |
---|
setValue |
Methods inherited from interface Property |
---|
getName, getUserData, isNillable |
Constructor Detail |
---|
protected AssociationImpl(Attribute value, AssociationDescriptor descriptor)
Method Detail |
---|
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |