java.lang.Object
ch.systemsx.cisd.openbis.generic.shared.api.v1.dto.PropertyType
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ControlledVocabularyPropertyType

@JsonObject("PropertyType") public class PropertyType extends Object implements Serializable
Immutable value object representing a property type.
See Also:
  • Constructor Details

  • Method Details

    • isManaged

      public boolean isManaged()
    • isDinamic

      public boolean isDinamic()
    • isShowInEditViews

      public boolean isShowInEditViews()
    • getDataType

      public DataTypeCode getDataType()
    • getSampleTypeCode

      public String getSampleTypeCode()
    • getCode

      public String getCode()
      Return the code of this property type.
    • getLabel

      public String getLabel()
      Return the label shown in forms.
    • getDescription

      public String getDescription()
      Return the extended description. May be null.
    • isMandatory

      public boolean isMandatory()
    • equals

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

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

      public String toString()
      Overrides:
      toString in class Object
    • appendFieldsToStringBuilder

      protected void appendFieldsToStringBuilder(org.apache.commons.lang3.builder.ToStringBuilder builder)
      For subclasses to override
    • setSampleTypeCode

      public void setSampleTypeCode(String sampleTypeCode)
    • setManaged

      public void setManaged(boolean managed)
    • setDinamic

      public void setDinamic(boolean dinamic)
    • setShowInEditViews

      public void setShowInEditViews(boolean showInEditViews)