public class Association extends BaseProperty implements Relation
Property
representing JAXR association mapped using the
Association
annotation.Constructor and Description |
---|
Association() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAssociationType()
Returns the associationType.
|
Concept |
getAssociationTypeConcept()
Returns the associationTypeConcept.
|
java.lang.String |
getAssociationTypeKey()
Returns the associationTypeKey.
|
CascadeStyle |
getCascadeStyle()
Returns the cascade stype for this relation.
|
Property |
getPropery()
Returns the underlying
Property instance. |
java.util.List<?> |
getTargetTypes()
Returns the list of target types.
|
void |
setAssociationType(java.lang.String associationType)
Sets the associationType.
|
void |
setAssociationTypeKey(java.lang.String associationTypeKey)
Sets the associationTypeKey.
|
void |
setCascadeStyle(CascadeStyle cascadeStyle)
Sets the cascade style for this relation.
|
void |
setTargetTypes(java.util.List<?> targetTypes)
Sets the list of target types.
|
getAttributeDescription, getAttributeName, getBeanType, getGetter, getName, getSetter, getTargetType, hasAttributeDescription, setAttributeDescription, setAttributeName, setBeanType, setGetter, setHasAttributeDescription, setName, setSetter, setTargetType
public java.util.List<?> getTargetTypes()
public void setTargetTypes(java.util.List<?> targetTypes)
targetTypes
- the list of target types.public CascadeStyle getCascadeStyle()
getCascadeStyle
in interface Relation
CascadeStyle
public void setCascadeStyle(CascadeStyle cascadeStyle)
setCascadeStyle
in interface Relation
cascadeStyle
- the cascade style for this relation.public Property getPropery()
Property
instance.getPropery
in interface Relation
Property
public java.lang.String getAssociationType()
public void setAssociationType(java.lang.String associationType)
associationType
- the associationType to setpublic java.lang.String getAssociationTypeKey()
public void setAssociationTypeKey(java.lang.String associationTypeKey)
associationTypeKey
- the associationTypeKey to setpublic Concept getAssociationTypeConcept()