org.apache.chemistry.opencmis.client.runtime.objecttype
Class ObjectTypeHelper

java.lang.Object
  extended by org.apache.chemistry.opencmis.client.runtime.objecttype.ObjectTypeHelper
All Implemented Interfaces:
java.io.Serializable

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

Helper for object types, containing session-related info.

This is needed because Java doesn't support multiple inheritance.

See Also:
Serialized Form

Constructor Summary
ObjectTypeHelper(Session session, ObjectType objectType)
           
 
Method Summary
 ObjectType getBaseType()
           
 ItemIterable<ObjectType> getChildren()
           
 java.util.List<Tree<ObjectType>> getDescendants(int depth)
           
 ObjectType getParentType()
           
 Session getSession()
           
 boolean isBaseType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectTypeHelper

public ObjectTypeHelper(Session session,
                        ObjectType objectType)
Method Detail

getSession

public Session getSession()

isBaseType

public boolean isBaseType()

getBaseType

public ObjectType getBaseType()

getParentType

public ObjectType getParentType()

getChildren

public ItemIterable<ObjectType> getChildren()

getDescendants

public java.util.List<Tree<ObjectType>> getDescendants(int depth)


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