All Implemented Interfaces:
Serializable

public class Attribute extends AbstractObjectWrapper<AttributeEntity>
See Also:
  • Constructor Details

  • Method Details

    • getId

      public UUID getId()
    • getDataSetList

      public DataSetList getDataSetList()
    • getName

      public String getName()
    • getOrdering

      public Integer getOrdering()
    • getAttributeType

      public AttributeTypeName getAttributeType()
    • getTypeDataSetList

      public DataSetList getTypeDataSetList()
      For DSL attributes. Returns referenced DSL.
    • getTypeDataSetListId

      public UUID getTypeDataSetListId()
      For DSL attributes. Returns referenced DSL.
    • setTypeDataSetListId

      public void setTypeDataSetListId(UUID dataSetListId)
      For DSL attributes. Sets referenced DSL.
    • getListValues

      public List<ListValue> getListValues()
      Gets list values.
      Returns:
      the list values
    • getParameters

      public List<Parameter> getParameters()
      Get parameters.
    • beforeRemove

      public void beforeRemove()
      Overrides:
      beforeRemove in class AbstractObjectWrapper<AttributeEntity>
    • getOverlaps

      public List<AttributeKey> getOverlaps()
      Returns all attribute keys, overlapping current attribute.
    • createListValue

      public ListValue createListValue(String text)
      For list attributes. Create new List Value.
    • insertListValue

      public ListValue insertListValue(UUID id, String text)
      For list attributes. Create new List Value with name and id.
    • setName

      public void setName(String name)
    • setAttributeType

      public void setAttributeType(AttributeTypeName type)
    • setDataSetList

      public void setDataSetList(UUID dataSetListId)
    • copyListValuesTo

      public Map<UUID,UUID> copyListValuesTo(Attribute attributeCopy)
      Copy attribute list values to another attribute.
    • setOrdering

      public void setOrdering(Integer ordering)