org.apache.chemistry.opencmis.client.runtime
Class TransientRelationshipImpl

java.lang.Object
  extended by org.apache.chemistry.opencmis.client.runtime.AbstractTransientCmisObject
      extended by org.apache.chemistry.opencmis.client.runtime.TransientRelationshipImpl
All Implemented Interfaces:
CmisObjectProperties, ObjectId, RelationshipProperties, TransientCmisObject, TransientRelationship

public class TransientRelationshipImpl
extends AbstractTransientCmisObject
implements TransientRelationship


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.chemistry.opencmis.client.runtime.AbstractTransientCmisObject
AbstractTransientCmisObject.AceChangeHolder
 
Field Summary
 
Fields inherited from class org.apache.chemistry.opencmis.client.runtime.AbstractTransientCmisObject
acl, addAces, addPolicies, allowableActions, deleteAllVersions, inputExtensions, isMarkedForDelete, isModified, isPropertyUpdateRequired, object, ouputExtensions, policies, properties, relationships, removeAces, removePolicies, renditions, session
 
Constructor Summary
TransientRelationshipImpl()
           
 
Method Summary
 CmisObject getSource()
           
 CmisObject getSource(OperationContext context)
           
 ObjectId getSourceId()
          Returns the source id of this CMIS relationship (CMIS property cmis:sourceId).
 CmisObject getTarget()
           
 CmisObject getTarget(OperationContext context)
           
 ObjectId getTargetId()
          Returns the target id of this CMIS relationship (CMIS property cmis:targetId).
 void setSourceId(ObjectId id)
           
 void setTargetId(ObjectId id)
           
 
Methods inherited from class org.apache.chemistry.opencmis.client.runtime.AbstractTransientCmisObject
addAce, applyPolicy, delete, getAllowableActions, getBaseType, getBaseTypeId, getBinding, getChangeToken, getCmisObject, getCreatedBy, getCreationDate, getId, getInputExtensions, getLastModificationDate, getLastModifiedBy, getLatestChangeToken, getName, getObjectFactory, getObjectId, getOriginalAcl, getOutputExtensions, getPolicies, getProperties, getProperty, getPropertyValue, getRelationships, getRenditions, getRepositoryId, getSession, getType, initialize, isMarkedForDelete, isModified, prepareAcl, prepareProperties, refreshAndReset, removeAce, removePolicy, reset, save, saveACL, saveDelete, savePolicies, saveProperties, setName, setOutputExtensions, setPropertyValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.chemistry.opencmis.client.api.TransientCmisObject
addAce, applyPolicy, delete, getAllowableActions, getCmisObject, getInputExtensions, getOriginalAcl, getOutputExtensions, getPolicies, getRelationships, getRenditions, isMarkedForDelete, isModified, refreshAndReset, removeAce, removePolicy, reset, save, setName, setOutputExtensions, setPropertyValue
 
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
 

Constructor Detail

TransientRelationshipImpl

public TransientRelationshipImpl()
Method Detail

getSource

public CmisObject getSource()
Specified by:
getSource in interface TransientRelationship

getSource

public CmisObject getSource(OperationContext context)
Specified by:
getSource in interface TransientRelationship

getSourceId

public ObjectId getSourceId()
Description copied from interface: RelationshipProperties
Returns the source id of this CMIS relationship (CMIS property cmis:sourceId).

Specified by:
getSourceId in interface RelationshipProperties

setSourceId

public void setSourceId(ObjectId id)
Specified by:
setSourceId in interface TransientRelationship

getTarget

public CmisObject getTarget()
Specified by:
getTarget in interface TransientRelationship

getTarget

public CmisObject getTarget(OperationContext context)
Specified by:
getTarget in interface TransientRelationship

getTargetId

public ObjectId getTargetId()
Description copied from interface: RelationshipProperties
Returns the target id of this CMIS relationship (CMIS property cmis:targetId).

Specified by:
getTargetId in interface RelationshipProperties

setTargetId

public void setTargetId(ObjectId id)
Specified by:
setTargetId in interface TransientRelationship


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