Class PropertyType
java.lang.Object
ch.systemsx.cisd.openbis.generic.shared.api.v1.dto.PropertyType
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ControlledVocabularyPropertyType
Immutable value object representing a property type.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classClass used to initialize a new data set instance. -
Constructor Summary
ConstructorsConstructorDescriptionPropertyType(PropertyType.PropertyTypeInitializer initializer) Creates a new instance with the provided initializer -
Method Summary
Modifier and TypeMethodDescriptionprotected voidappendFieldsToStringBuilder(org.apache.commons.lang3.builder.ToStringBuilder builder) For subclasses to overridebooleangetCode()Return the code of this property type.Return the extended description.getLabel()Return the label shown in forms.inthashCode()booleanbooleanbooleanbooleanvoidsetDinamic(boolean dinamic) voidsetManaged(boolean managed) voidsetSampleTypeCode(String sampleTypeCode) voidsetShowInEditViews(boolean showInEditViews) toString()
-
Constructor Details
-
Method Details
-
isManaged
public boolean isManaged() -
isDinamic
public boolean isDinamic() -
isShowInEditViews
public boolean isShowInEditViews() -
getDataType
-
getSampleTypeCode
-
getCode
Return the code of this property type. -
getLabel
Return the label shown in forms. -
getDescription
Return the extended description. May be null. -
isMandatory
public boolean isMandatory() -
equals
-
hashCode
public int hashCode() -
toString
-
appendFieldsToStringBuilder
protected void appendFieldsToStringBuilder(org.apache.commons.lang3.builder.ToStringBuilder builder) For subclasses to override -
setSampleTypeCode
-
setManaged
public void setManaged(boolean managed) -
setDinamic
public void setDinamic(boolean dinamic) -
setShowInEditViews
public void setShowInEditViews(boolean showInEditViews)
-