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

All Superinterfaces:
ExtensionsData, ObjectType, Serializable, TypeDefinition

public interface RelationshipType
extends ObjectType

Relationship Object Type.

See CMIS Domain Model - section 2.1.6.1.


Field Summary
 
Fields inherited from interface org.apache.chemistry.opencmis.client.api.ObjectType
DOCUMENT_BASETYPE_ID, FOLDER_BASETYPE_ID, POLICY_BASETYPE_ID, RELATIONSHIP_BASETYPE_ID
 
Method Summary
 List<ObjectType> getAllowedSourceTypes()
          Get the list of object types, allowed as source for relationships of this type.
 List<ObjectType> getAllowedTargetTypes()
          Get the list of object types, allowed as target for relationships of this type.
 
Methods inherited from interface org.apache.chemistry.opencmis.client.api.ObjectType
getBaseType, getChildren, getDescendants, getParentType, isBaseType
 
Methods inherited from interface org.apache.chemistry.opencmis.commons.definitions.TypeDefinition
getBaseTypeId, getDescription, getDisplayName, getId, getLocalName, getLocalNamespace, getParentTypeId, getPropertyDefinitions, getQueryName, isControllableAcl, isControllablePolicy, isCreatable, isFileable, isFulltextIndexed, isIncludedInSupertypeQuery, isQueryable
 
Methods inherited from interface org.apache.chemistry.opencmis.commons.data.ExtensionsData
getExtensions, setExtensions
 

Method Detail

getAllowedSourceTypes

List<ObjectType> getAllowedSourceTypes()
Get the list of object types, allowed as source for relationships of this type.

Returns:
the allowed source types for this relationship type.

getAllowedTargetTypes

List<ObjectType> getAllowedTargetTypes()
Get the list of object types, allowed as target for relationships of this type.

Returns:
the allowed target types for this relationship type.


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