org.alfresco.cmis
Class CMISTypeId

java.lang.Object
  extended by org.alfresco.cmis.CMISTypeId
All Implemented Interfaces:
java.io.Serializable

public class CMISTypeId
extends java.lang.Object
implements java.io.Serializable

CMIS Type Id

See Also:
Serialized Form

Constructor Summary
CMISTypeId(CMISScope scope, org.alfresco.service.namespace.QName typeQName, java.lang.String typeId, org.alfresco.service.namespace.QName internalQName)
          Construct
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 CMISTypeId getBaseTypeId()
          Get the base type id
 java.lang.String getId()
          Get the CMIS type id string
 java.lang.String getLocalName()
          Get the CMIS local name
 java.lang.String getLocalNamespace()
          Get the CMIS local namespace
 org.alfresco.service.namespace.QName getQName()
          Get the Alfresco model QName associated with the type
 CMISScope getScope()
          Get the scope for the type (Doc, Folder, Relationship or unknown)
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CMISTypeId

public CMISTypeId(CMISScope scope,
                  org.alfresco.service.namespace.QName typeQName,
                  java.lang.String typeId,
                  org.alfresco.service.namespace.QName internalQName)
Construct

Parameters:
scope - type scope
typeQName - name of the CMIS type
typeId - id of the CMIS type
internalQName - alfresco class definition representing the type
Method Detail

getId

public java.lang.String getId()
Get the CMIS type id string

Returns:

getLocalName

public java.lang.String getLocalName()
Get the CMIS local name

Returns:

getLocalNamespace

public java.lang.String getLocalNamespace()
Get the CMIS local namespace

Returns:

getScope

public CMISScope getScope()
Get the scope for the type (Doc, Folder, Relationship or unknown)

Returns:

getQName

public org.alfresco.service.namespace.QName getQName()
Get the Alfresco model QName associated with the type

Returns:
alfresco QName

getBaseTypeId

public CMISTypeId getBaseTypeId()
Get the base type id

Returns:

toString

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

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


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