All Implemented Interfaces:

public class EntityDef extends TypeDef
EntityDef describes a type of entity in the metadata collection. It is the simplest TypeDef that adds no other properties beyond TypeDef.
See Also:
  • Constructor Details

    • EntityDef

      public EntityDef()
      Minimal constructor initializes the superclass as an Entity
    • EntityDef

      public EntityDef(TypeDefCategory category, String guid, String name, long version, String versionName)
      Typical constructor is passed the properties of the typedef's super class being constructed.
      category - category of this TypeDef
      guid - unique id for the TypeDef
      name - unique name for the TypeDef
      version - active version number for the TypeDef
      versionName - name for the active version of the TypeDef
    • EntityDef

      public EntityDef(EntityDef template)
      Copy/clone constructor copies the values from the supplied template.
      template - EntityDef
  • Method Details

    • cloneFromSubclass

      public TypeDef cloneFromSubclass()
      Delegate the process of cloning to the subclass.
      Specified by:
      cloneFromSubclass in class TypeDef
      subclass of TypeDef
    • toString

      public String toString()
      Standard toString method.
      toString in class TypeDef
      JSON style description of variables.