org.chromattic.core
Class EmbeddedContext
java.lang.Object
org.chromattic.core.ObjectContext<EmbeddedContext>
org.chromattic.core.EmbeddedContext
- All Implemented Interfaces:
- MethodHandler
public final class EmbeddedContext
- extends ObjectContext<EmbeddedContext>
- Version:
- $Revision$
- Author:
- Julien Viet
| Methods inherited from class org.chromattic.core.ObjectContext |
addChild, addChild, getChild, getChildren, getPropertyValue, getPropertyValues, hasChild, hasProperty, invoke, invoke, invoke, orderBefore, removeChild, setPropertyValue, setPropertyValues |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
getStatus
public Status getStatus()
- Returns the status of the related entity when the context is attached to an entity otherwise it returns
the
Status.TRANSIENT value.
- Specified by:
getStatus in class ObjectContext<EmbeddedContext>
- Returns:
- the status
getMapper
public ObjectMapper<EmbeddedContext> getMapper()
- Specified by:
getMapper in class ObjectContext<EmbeddedContext>
getSession
public DomainSession getSession()
- Specified by:
getSession in class ObjectContext<EmbeddedContext>
getTypeInfo
public NodeTypeInfo getTypeInfo()
- Description copied from class:
ObjectContext
- Returns the type info associated with the context. Null is returned when the context is in transient
state, otherwise the type info of the corresponding node is returned.
- Specified by:
getTypeInfo in class ObjectContext<EmbeddedContext>
- Returns:
- the type info
getObject
public java.lang.Object getObject()
- Specified by:
getObject in class ObjectContext<EmbeddedContext>
getEntity
public EntityContext getEntity()
- Specified by:
getEntity in class ObjectContext<EmbeddedContext>
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright © 2013 eXo Platform SAS. All Rights Reserved.