com.softwareag.centrasite.appl.framework.mapping
Class Association
java.lang.Object
com.softwareag.centrasite.appl.framework.mapping.BaseProperty
com.softwareag.centrasite.appl.framework.mapping.Association
- All Implemented Interfaces:
- Property, Relation
- Direct Known Subclasses:
- AssociationMappedToAssociation, AssociationMappedToTarget, ClassificationAttribute, Relationship
public class Association
- extends BaseProperty
- implements Relation
Property
representing JAXR association mapped using the
Association
annotation.
Methods inherited from class com.softwareag.centrasite.appl.framework.mapping.BaseProperty |
getAttributeDescription, getAttributeName, getBeanType, getGetter, getName, getSetter, getTargetType, hasAttributeDescription, setAttributeDescription, setAttributeName, setBeanType, setGetter, setHasAttributeDescription, setName, setSetter, setTargetType |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Association
public Association()
getTargetTypes
public java.util.List<?> getTargetTypes()
setTargetTypes
public void setTargetTypes(java.util.List<?> targetTypes)
getCascadeStyle
public CascadeStyle getCascadeStyle()
- Returns the cascade stype for this relation.
- Specified by:
getCascadeStyle
in interface Relation
- Returns:
CascadeStyle
setCascadeStyle
public void setCascadeStyle(CascadeStyle cascadeStyle)
- Sets the cascade style for this relation.
- Specified by:
setCascadeStyle
in interface Relation
getPropery
public Property getPropery()
- Returns the underlying
Property
instance.
- Specified by:
getPropery
in interface Relation
- Returns:
Property
getAssociationType
public java.lang.String getAssociationType()
- Returns:
- the associationType
setAssociationType
public void setAssociationType(java.lang.String associationType)
- Parameters:
associationType
- the associationType to set
getAssociationTypeKey
public java.lang.String getAssociationTypeKey()
- Returns:
- the associationTypeKey
setAssociationTypeKey
public void setAssociationTypeKey(java.lang.String associationTypeKey)
- Parameters:
associationTypeKey
- the associationTypeKey to set
getAssociationTypeConcept
public javax.xml.registry.infomodel.Concept getAssociationTypeConcept()
- Returns:
- the associationTypeConcept