org.alfresco.cmis.dictionary
Class CMISRelationshipTypeDefinition

java.lang.Object
  extended by org.alfresco.cmis.dictionary.CMISAbstractTypeDefinition
      extended by org.alfresco.cmis.dictionary.CMISRelationshipTypeDefinition
All Implemented Interfaces:
java.io.Serializable, CMISTypeDefinition

public class CMISRelationshipTypeDefinition
extends CMISAbstractTypeDefinition

CMIS Relationship Type Definition

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.alfresco.cmis.dictionary.CMISAbstractTypeDefinition
actionEvaluators, cmisClassDef, controllableACL, controllablePolicy, creatable, description, displayName, fullTextIndexed, includedInSuperTypeQuery, inheritedProperties, internalParentType, isPublic, logger, objectTypeId, objectTypeQueryName, ownedProperties, parentType, parentTypeId, properties, queryable, rootType, subTypeIds, subTypes
 
Constructor Summary
CMISRelationshipTypeDefinition(CMISMapping cmisMapping, CMISTypeId typeId, org.alfresco.service.cmr.dictionary.ClassDefinition cmisClassDef, org.alfresco.service.cmr.dictionary.AssociationDefinition assocDef)
          Construct
 
Method Summary
 java.util.Collection getAllowedSourceTypes()
          For an association, get the collection of valid source types.
 java.util.Collection getAllowedTargetTypes()
          For an association, get the collection of valid target types.
 java.lang.String toString()
           
 
Methods inherited from class org.alfresco.cmis.dictionary.CMISAbstractTypeDefinition
equals, getActionEvaluators, getBaseType, getContentStreamAllowed, getDescription, getDisplayName, getInternalParentType, getOwnedPropertyDefinitions, getParentType, getPropertyDefinitions, getQueryName, getSubTypes, getTypeId, hashCode, isControllableACL, isControllablePolicy, isCreatable, isFileable, isFullTextIndexed, isIncludedInSuperTypeQuery, isPublic, isQueryable, isVersionable
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CMISRelationshipTypeDefinition

public CMISRelationshipTypeDefinition(CMISMapping cmisMapping,
                                      CMISTypeId typeId,
                                      org.alfresco.service.cmr.dictionary.ClassDefinition cmisClassDef,
                                      org.alfresco.service.cmr.dictionary.AssociationDefinition assocDef)
Construct

Parameters:
cmisMapping -
typeId -
cmisClassDef -
assocDef -
Method Detail

getAllowedSourceTypes

public java.util.Collection getAllowedSourceTypes()
For an association, get the collection of valid source types. For non-associations the collection will be empty.

Specified by:
getAllowedSourceTypes in interface CMISTypeDefinition
Overrides:
getAllowedSourceTypes in class CMISAbstractTypeDefinition
Returns:

getAllowedTargetTypes

public java.util.Collection getAllowedTargetTypes()
For an association, get the collection of valid target types. For non-associations the collection will be empty.

Specified by:
getAllowedTargetTypes in interface CMISTypeDefinition
Overrides:
getAllowedTargetTypes in class CMISAbstractTypeDefinition
Returns:

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.