|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CentraSiteRelationShipAttribute
A RelationShip attribute is a specific kind of attribute whose value is represented by an Association. It is identified by an attribute-key that instances will use as a reference in order to be recognized as RelationShip attribute.
Field Summary |
---|
Fields inherited from interface com.centrasite.jaxr.type.CentraSiteAttribute |
---|
MAXOCCURS_1, MAXOCCURS_UNBOUNDED, MINOCCURS_0, MINOCCURS_1 |
Method Summary | |
---|---|
void |
addTargetType(javax.xml.registry.infomodel.Concept targetType)
Add a target type to this relationship attribute. |
void |
addTargetTypes(java.util.Collection<javax.xml.registry.infomodel.Concept> targetTypes)
Add a collection of target types to this relationship attribute. |
javax.xml.registry.infomodel.Concept |
getAssociationType()
Get this relationship attribute's association type. |
java.lang.String |
getAttributeKey()
Get 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()
Get the collection of target types for this relationship attribute. |
boolean |
isAggregation()
Return whether this RelationShip attribute aggregates its target values. |
boolean |
isRequiredTarget()
Return whether this Relationship attribute points to a required target object. |
boolean |
isReverseAggregation()
Return whether this RelationShip attribute is reversely aggregated by its target values. |
void |
removeTargetType(javax.xml.registry.infomodel.Concept targetType)
Remove a target type from this relationship attribute. |
void |
setAggregation(boolean aggregation)
Set whether this RelationShip attribute aggregates its target values. |
void |
setAssociationType(javax.xml.registry.infomodel.Concept associationType)
Set 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)
Set whether this Relationship attribute points to a required target object. |
void |
setReverseAggregation(boolean aggregation)
Set whether this RelationShip attribute is reversely aggregated by its target values. |
Methods inherited from interface com.centrasite.jaxr.type.CentraSiteAttribute |
---|
getDefaultValue, getDescription, getDisplayName, getLocalName, getMaxOccurs, getMinOccurs, getName, hasDefaultValue, isReadOnly, isRequired, isSystemDefined, isUsed, setDefaultValue, setDescription, setMaxOccurs, setMinOccurs, setName, setReadOnly, setRequired |
Method Detail |
---|
java.lang.String getAttributeKey() throws javax.xml.registry.JAXRException
javax.xml.registry.JAXRException
java.util.Collection<javax.xml.registry.infomodel.Concept> getTargetTypes() throws javax.xml.registry.JAXRException
javax.xml.registry.JAXRException
void addTargetType(javax.xml.registry.infomodel.Concept targetType) throws javax.xml.registry.JAXRException
targetType
- type to be added
javax.xml.registry.JAXRException
void addTargetTypes(java.util.Collection<javax.xml.registry.infomodel.Concept> targetTypes) throws javax.xml.registry.JAXRException
targetTypes
- collection of types to be added
javax.xml.registry.JAXRException
void removeTargetType(javax.xml.registry.infomodel.Concept targetType) throws javax.xml.registry.JAXRException
targetType
- the type to be removed
javax.xml.registry.JAXRException
javax.xml.registry.infomodel.Concept getAssociationType() throws javax.xml.registry.JAXRException
javax.xml.registry.JAXRException
void setAssociationType(javax.xml.registry.infomodel.Concept associationType) throws javax.xml.registry.JAXRException
associationType
-
javax.xml.registry.JAXRException
boolean isAggregation() throws javax.xml.registry.JAXRException
javax.xml.registry.JAXRException
void setAggregation(boolean aggregation) throws javax.xml.registry.JAXRException
aggregation
- true if this RelationShip attribute aggregates its target values.
javax.xml.registry.JAXRException
boolean isReverseAggregation() throws javax.xml.registry.JAXRException
javax.xml.registry.JAXRException
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
boolean isRequiredTarget() throws javax.xml.registry.JAXRException
javax.xml.registry.JAXRException
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
void setRelationShipType(javax.xml.registry.infomodel.Concept relationShipType) throws javax.xml.registry.JAXRException
relationshipType
- JAXR concept representing the relationship type
javax.xml.registry.JAXRException
javax.xml.registry.infomodel.Concept getRelationShipType() throws javax.xml.registry.JAXRException
javax.xml.registry.JAXRException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |