public class RelationshipImpl extends AbstractCmisObject implements Relationship
| Constructor and Description | 
|---|
RelationshipImpl(SessionImpl session,
                ObjectType objectType,
                ObjectData objectData,
                OperationContext context)
Constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
CmisObject | 
getSource()
Gets the source object. 
 | 
CmisObject | 
getSource(OperationContext context)
Gets the source object using the given  
OperationContext. | 
ObjectId | 
getSourceId()
Returns the source ID of this CMIS relationship (CMIS property
  
cmis:sourceId). | 
CmisObject | 
getTarget()
Gets the target object. 
 | 
CmisObject | 
getTarget(OperationContext context)
Gets the target object using the given  
OperationContext. | 
ObjectId | 
getTargetId()
Returns the target ID of this CMIS relationship (CMIS property
  
cmis:targetId). | 
addAcl, applyAcl, applyPolicy, delete, delete, findObjectType, getAcl, getAcl, getAdapter, getAllowableActions, getBaseType, getBaseTypeId, getBinding, getChangeToken, getCreatedBy, getCreationContext, getCreationDate, getDescription, getExtensions, getId, getLastModificationDate, getLastModifiedBy, getName, getObjectFactory, getObjectId, getObjectType, getPolicies, getProperties, getProperty, getPropertyQueryName, getPropertyValue, getRefreshTimestamp, getRelationships, getRenditions, getRepositoryId, getSecondaryTypes, getSession, getType, initialize, readLock, readUnlock, refresh, refreshIfOld, removeAcl, removePolicy, rename, rename, setAcl, toString, updateProperties, updateProperties, writeLock, writeUnlockclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddAcl, applyAcl, applyPolicy, delete, delete, getAcl, getAdapter, getAllowableActions, getExtensions, getPolicies, getRefreshTimestamp, getRelationships, getRenditions, refresh, refreshIfOld, removeAcl, removePolicy, rename, rename, setAcl, updateProperties, updatePropertiesfindObjectType, getBaseType, getBaseTypeId, getChangeToken, getCreatedBy, getCreationDate, getDescription, getLastModificationDate, getLastModifiedBy, getName, getProperties, getProperty, getPropertyValue, getSecondaryTypes, getTypepublic RelationshipImpl(SessionImpl session, ObjectType objectType, ObjectData objectData, OperationContext context)
public CmisObject getSource()
Relationshipnull will be returned.getSource in interface Relationshippublic CmisObject getSource(OperationContext context)
RelationshipOperationContext. If the
 source object ID is invalid, null will be returned.getSource in interface Relationshippublic ObjectId getSourceId()
RelationshipPropertiescmis:sourceId).getSourceId in interface RelationshipPropertiesnull if the property hasn't been
         requested, hasn't been provided by the repository, or the
         property value isn't setpublic CmisObject getTarget()
Relationshipnull will be returned.getTarget in interface Relationshippublic CmisObject getTarget(OperationContext context)
RelationshipOperationContext. If the
 target object ID is invalid, null will be returned.getTarget in interface Relationshippublic ObjectId getTargetId()
RelationshipPropertiescmis:targetId).getTargetId in interface RelationshipPropertiesnull if the property hasn't been
         requested, hasn't been provided by the repository, or the
         property value isn't setCopyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.