Class PropertyType

  • All Implemented Interfaces:
    Direct Known Subclasses:

    public class PropertyType
    extends java.lang.Object
    Immutable value object representing a property type.
    See Also:
    Serialized Form
    • Constructor Detail

      • PropertyType

        public PropertyType​(PropertyType.PropertyTypeInitializer initializer)
        Creates a new instance with the provided initializer
        java.lang.IllegalArgumentException - if some of the required information is not provided.
    • Method Detail

      • isManaged

        public boolean isManaged()
      • isDinamic

        public boolean isDinamic()
      • isShowInEditViews

        public boolean isShowInEditViews()
      • getDataType

        public ch.systemsx.cisd.openbis.generic.shared.basic.dto.DataTypeCode getDataType()
      • getSampleTypeCode

        public java.lang.String getSampleTypeCode()
      • getMaterialTypeCode

        public java.lang.String getMaterialTypeCode()
      • getCode

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

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

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

        public boolean isMandatory()
      • equals

        public boolean equals​(java.lang.Object obj)
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        toString in class java.lang.Object
      • appendFieldsToStringBuilder

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

        public void setSampleTypeCode​(java.lang.String sampleTypeCode)
      • setMaterialTypeCode

        public void setMaterialTypeCode​(java.lang.String materialTypeCode)
      • setManaged

        public void setManaged​(boolean managed)
      • setDinamic

        public void setDinamic​(boolean dinamic)
      • setShowInEditViews

        public void setShowInEditViews​(boolean showInEditViews)