Module platform

Class AttributeItem

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

public class AttributeItem extends Item
See Also:
  • Field Details

  • Constructor Details

    • AttributeItem

      public AttributeItem(String key)
  • 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
    • initPluginDescriptor

      public Item initPluginDescriptor(PluginDescriptor plugin)
      Overrides:
      initPluginDescriptor in class Item
    • setName

      public void setName(String name)
      Description copied from class: Node
      Sets the name of this node.
      Overrides:
      setName in class Item
      Parameters:
      name - new name of node, may be null
      See Also:
    • correspondsTo

      public boolean correspondsTo(Attribute a)
    • getEditor

      public PropertyEditor getEditor()
    • get

      public static AttributeItem get(RegistryContext c, Attribute a)