Class TypeItem

All Implemented Interfaces:
Manageable, PersistenceCapable, Shareable, SharedObjectProvider, RegistryContext, UserFields, XObject, Described, Map, Serializable

public class TypeItem extends ObjectItem
See Also:
  • Field Details

  • Constructor Details

    • TypeItem

      public TypeItem(String key, Type type)
    • TypeItem

      public TypeItem(Type type)
    • TypeItem

      public TypeItem(String key, Class cls)
  • Method Details

    • getNTypeImpl

      protected Node.NType getNTypeImpl()
      Description copied from class: Node
      This method returns the Node.NType which describes the managed fields of the class of this node. This method has to be implemented in every concrete subclass.
      Overrides:
      getNTypeImpl in class Item
      Returns:
      type describing the managed fields of the class of this node
    • newInstance

      protected Node newInstance()
      Description copied from class: Node
      This method returns a new instance of the class of this node. This method has to be implemented in every concrete subclass.
      Overrides:
      newInstance in class Item
      Returns:
      new instance of class of this node
    • getObjectType

      public Type getObjectType()
      Overrides:
      getObjectType in class ObjectItem
    • getObject

      public Object getObject()
      Specified by:
      getObject in class ObjectItem
    • isObjectFetched

      public boolean isObjectFetched()
      Specified by:
      isObjectFetched in class ObjectItem
    • hasSupertype

      public boolean hasSupertype(String supertype)
    • activateImpl

      protected void activateImpl()
      Overrides:
      activateImpl in class Item
    • deactivateImpl

      protected void deactivateImpl()
      Overrides:
      deactivateImpl in class Item
    • addPluginPrerequisites

      public void addPluginPrerequisites(Collection list)
      Overrides:
      addPluginPrerequisites in class Item