org.apache.chemistry.opencmis.client.api
Interface Relationship

All Superinterfaces:
CmisObject, CmisObjectProperties, ObjectId, RelationshipProperties

public interface Relationship
extends CmisObject, RelationshipProperties

CMIS Relationship. Domain Model 2.6


Method Summary
 CmisObject getSource()
          Gets the source object.
 CmisObject getSource(OperationContext context)
          Gets the source object using the given OperationContext.
 CmisObject getTarget()
          Gets the target object.
 CmisObject getTarget(OperationContext context)
          Gets the target object using the given OperationContext.
 TransientRelationship getTransientRelationship()
           
 
Methods inherited from interface org.apache.chemistry.opencmis.client.api.CmisObject
addAcl, applyAcl, applyPolicy, delete, getAcl, getAdapter, getAllowableActions, getExtensions, getPolicies, getRefreshTimestamp, getRelationships, getRenditions, getTransientObject, refresh, refreshIfOld, removeAcl, removePolicy, updateProperties, updateProperties
 
Methods inherited from interface org.apache.chemistry.opencmis.client.api.ObjectId
getId
 
Methods inherited from interface org.apache.chemistry.opencmis.client.api.CmisObjectProperties
getBaseType, getBaseTypeId, getChangeToken, getCreatedBy, getCreationDate, getLastModificationDate, getLastModifiedBy, getName, getProperties, getProperty, getPropertyValue, getType
 
Methods inherited from interface org.apache.chemistry.opencmis.client.api.RelationshipProperties
getSourceId, getTargetId
 

Method Detail

getTransientRelationship

TransientRelationship getTransientRelationship()

getSource

CmisObject getSource()
Gets the source object. If the source object id is invalid, null will be returned.


getSource

CmisObject getSource(OperationContext context)
Gets the source object using the given OperationContext. If the source object id is invalid, null will be returned.


getTarget

CmisObject getTarget()
Gets the target object. If the target object id is invalid, null will be returned.


getTarget

CmisObject getTarget(OperationContext context)
Gets the target object using the given OperationContext. If the target object id is invalid, null will be returned.



Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.