public interface CentraSiteRelationShipAttribute extends CentraSiteAttribute
MAXOCCURS_1, MAXOCCURS_UNBOUNDED, MINOCCURS_0, MINOCCURS_1
Modifier and Type | Method and Description |
---|---|
void |
addTargetType(Concept targetType)
Adds a target type to this relationship attribute.
|
void |
addTargetTypes(java.util.Collection<Concept> targetTypes)
Adds a collection of target types to this relationship attribute.
|
Concept |
getAssociationType()
Gets this relationship attribute's association type.
|
java.lang.String |
getAttributeKey()
Gets the attribute key.
|
Concept |
getRelationShipType()
Returns the relationship type defined for the relationship attribute.
|
java.util.Collection<Concept> |
getTargetTypes()
Gets the collection of target types for this relationship attribute.
|
boolean |
isAggregation()
Returns whether this RelationShip attribute aggregates its target values.
|
boolean |
isRequiredTarget()
Returns whether this Relationship attribute points to a required target object.
|
boolean |
isReverseAggregation()
Returns whether this RelationShip attribute is reversely aggregated by its target values.
|
void |
removeTargetType(Concept targetType)
Removes a target type from this relationship attribute.
|
void |
setAggregation(boolean aggregation)
Sets whether this RelationShip attribute aggregates its target values.
|
void |
setAssociationType(Concept associationType)
Sets this relationship attribute's association type.
|
void |
setRelationShipType(Concept relationShipType)
Sets the relationship type of the relationship attribute.
|
void |
setRequiredTarget(boolean requiredTarget)
Sets whether this Relationship attribute points to a required target object.
|
void |
setReverseAggregation(boolean aggregation)
Sets whether this RelationShip attribute is reversely aggregated by its target values.
|
getDefaultValue, getDescription, getDisplayName, getLocalName, getMaxOccurs, getMinOccurs, getName, hasDefaultValue, isPredefined, isReadOnly, isRequired, isSystemDefined, isUsed, setDefaultValue, setDescription, setMaxOccurs, setMinOccurs, setName, setReadOnly, setRequired
java.lang.String getAttributeKey() throws JAXRException
JAXRException
- if an internal error occurs on getting the key.java.util.Collection<Concept> getTargetTypes() throws JAXRException
JAXRException
- if an internal error occurs on getting the target types.void addTargetType(Concept targetType) throws JAXRException
targetType
- type to be addedJAXRException
- if an internal error occurs on getting the target type.void addTargetTypes(java.util.Collection<Concept> targetTypes) throws JAXRException
targetTypes
- collection of types to be addedJAXRException
- if an internal error occurs on adding the target types.void removeTargetType(Concept targetType) throws JAXRException
targetType
- the type to be removedJAXRException
- if an internal error occurs on removing the target type.Concept getAssociationType() throws JAXRException
JAXRException
- if an internal error occurs on getting the association type.void setAssociationType(Concept associationType) throws JAXRException
associationType
- the association type object.JAXRException
- if an internal error occurs.boolean isAggregation() throws JAXRException
JAXRException
- if an internal error occurs.void setAggregation(boolean aggregation) throws JAXRException
aggregation
- true if this RelationShip attribute aggregates its target values.JAXRException
- if an internal error occurs.boolean isReverseAggregation() throws JAXRException
JAXRException
- if an internal error occurs.void setReverseAggregation(boolean aggregation) throws JAXRException
aggregation
- true if this RelationShip attribute is reversely aggregated by its target values.JAXRException
- if an internal error occurs.boolean isRequiredTarget() throws JAXRException
JAXRException
- if an internal error occurs.void setRequiredTarget(boolean requiredTarget) throws JAXRException
requiredTarget
- true if this Relationship attribute points to a required target object.JAXRException
- if an internal error occurs.void setRelationShipType(Concept relationShipType) throws JAXRException
relationShipType
- JAXR concept representing the relationship type.JAXRException
- if an internal error occurs.Concept getRelationShipType() throws JAXRException
JAXRException
- if an internal error occurs.