com.softwareag.centrasite.appl.framework.mapping
Class Association

java.lang.Object
  extended by com.softwareag.centrasite.appl.framework.mapping.BaseProperty
      extended by 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.


Constructor Summary
Association()
           
 
Method Summary
 java.lang.String getAssociationType()
           
 javax.xml.registry.infomodel.Concept getAssociationTypeConcept()
           
 java.lang.String getAssociationTypeKey()
           
 CascadeStyle getCascadeStyle()
          Returns the cascade stype for this relation.
 Property getPropery()
          Returns the underlying Property instance.
 java.util.List<?> getTargetTypes()
           
 void setAssociationType(java.lang.String associationType)
           
 void setAssociationTypeKey(java.lang.String associationTypeKey)
           
 void setCascadeStyle(CascadeStyle cascadeStyle)
          Sets the cascade style for this relation.
 void setTargetTypes(java.util.List<?> targetTypes)
           
 
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
 

Constructor Detail

Association

public Association()
Method Detail

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