java.lang.Object
dev.getelements.elements.rt.manifest.model.Property
All Implemented Interfaces:
Serializable

public class Property extends Object implements Serializable
Created by patricktwohig on 8/16/17.
See Also:
  • Constructor Details

    • Property

      public Property()
  • Method Details

    • getName

      public String getName()
      Gets the name of this property.
      Returns:
      the name
    • setName

      public void setName(String name)
      Sets the name of this Property.
      Parameters:
      name - the name
    • getDescription

      public String getDescription()
      Gets the description of this Property.
      Returns:
      the description
    • setDescription

      public void setDescription(String description)
      Sets the description of this Property.
      Parameters:
      description - the description
    • getType

      public Type getType()
      The type of this property.
      Returns:
      the type.
    • setType

      public void setType(Type type)
      Sets the type of this property.
      Parameters:
      type - the type
    • getModel

      public String getModel()
      Gets the model name, if this is a complex type. (eg Type.ARRAY or Type.OBJECT) such that it may property reference another model in the manifest. THis corresponds to the values of Model.getName() and the key in ModelManifest.getModelsByName().
      Returns:
    • setModel

      public void setModel(String model)
      Sets the model name.
      Parameters:
      model - the model name.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object