public interface CentraSiteRelationShipAttribute extends CentraSiteAttribute
MAXOCCURS_1, MAXOCCURS_UNBOUNDED, MINOCCURS_0, MINOCCURS_1
Modifier and Type | Method and Description |
---|---|
void |
addTargetType(javax.xml.registry.infomodel.Concept targetType)
Adds a target type to this relationship attribute.
|
void |
addTargetTypes(java.util.Collection<javax.xml.registry.infomodel.Concept> targetTypes)
Adds a collection of target types to this relationship attribute.
|
javax.xml.registry.infomodel.Concept |
getAssociationType()
Gets this relationship attribute's association type.
|
java.lang.String |
getAttributeKey()
Gets the attribute key.
|
javax.xml.registry.infomodel.Concept |
getRelationShipType()
Returns the relationship type defined for the relationship attribute.
|
java.util.Collection<javax.xml.registry.infomodel.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(javax.xml.registry.infomodel.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(javax.xml.registry.infomodel.Concept associationType)
Sets this relationship attribute's association type.
|
void |
setRelationShipType(javax.xml.registry.infomodel.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 javax.xml.registry.JAXRException
javax.xml.registry.JAXRException
- if an internal error occurs on getting the key.java.util.Collection<javax.xml.registry.infomodel.Concept> getTargetTypes() throws javax.xml.registry.JAXRException
javax.xml.registry.JAXRException
- if an internal error occurs on getting the target types.void addTargetType(javax.xml.registry.infomodel.Concept targetType) throws javax.xml.registry.JAXRException
targetType
- type to be addedjavax.xml.registry.JAXRException
- if an internal error occurs on getting the target type.void addTargetTypes(java.util.Collection<javax.xml.registry.infomodel.Concept> targetTypes) throws javax.xml.registry.JAXRException
targetTypes
- collection of types to be addedjavax.xml.registry.JAXRException
- if an internal error occurs on adding the target types.void removeTargetType(javax.xml.registry.infomodel.Concept targetType) throws javax.xml.registry.JAXRException
targetType
- the type to be removedjavax.xml.registry.JAXRException
- if an internal error occurs on removing the target type.javax.xml.registry.infomodel.Concept getAssociationType() throws javax.xml.registry.JAXRException
javax.xml.registry.JAXRException
- if an internal error occurs on getting the association type.void setAssociationType(javax.xml.registry.infomodel.Concept associationType) throws javax.xml.registry.JAXRException
associationType
- the association type object.javax.xml.registry.JAXRException
- if an internal error occurs.boolean isAggregation() throws javax.xml.registry.JAXRException
javax.xml.registry.JAXRException
- if an internal error occurs.void setAggregation(boolean aggregation) throws javax.xml.registry.JAXRException
aggregation
- true if this RelationShip attribute aggregates its target values.javax.xml.registry.JAXRException
- if an internal error occurs.boolean isReverseAggregation() throws javax.xml.registry.JAXRException
javax.xml.registry.JAXRException
- if an internal error occurs.void setReverseAggregation(boolean aggregation) throws javax.xml.registry.JAXRException
aggregation
- true if this RelationShip attribute is reversely aggregated by its target values.javax.xml.registry.JAXRException
- if an internal error occurs.boolean isRequiredTarget() throws javax.xml.registry.JAXRException
javax.xml.registry.JAXRException
- if an internal error occurs.void setRequiredTarget(boolean requiredTarget) throws javax.xml.registry.JAXRException
requiredTarget
- true if this Relationship attribute points to a required target object.javax.xml.registry.JAXRException
- if an internal error occurs.void setRelationShipType(javax.xml.registry.infomodel.Concept relationShipType) throws javax.xml.registry.JAXRException
relationShipType
- JAXR concept representing the relationship type.javax.xml.registry.JAXRException
- if an internal error occurs.javax.xml.registry.infomodel.Concept getRelationShipType() throws javax.xml.registry.JAXRException
javax.xml.registry.JAXRException
- if an internal error occurs.