java.lang.Object
com.genologics.ri.configuration.Field
- All Implemented Interfaces:
Linkable<Field>,Locatable,Serializable
The detailed representation of the configuration of a user-defined field.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Booleanprotected Stringprotected Stringprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Doubleprotected Doubleprotected Stringprotected URIprotected Integerprotected Booleanprotected Booleanprotected Booleanprotected FieldTypeprotected TypeDefinitionprotected Stringprotected URI -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()Convenience method for getting the field's id from its URI.getLink()Get a concrete link object to thisLinkablething.getName()getType()getUri()Get the URI of this object.booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanvoidsetAllowNonPresetValues(Boolean allowNonPresetValues) voidsetAttachToCategory(String attachToCategory) voidsetAttachToName(String attachToName) voidsetControlledVocabulary(Boolean controlledVocabulary) voidsetDeviation(Boolean deviation) voidsetDisplayPrecision(Integer precision) voidsetDynamicPresets(Boolean isDynamicPresets) voidsetEditable(Boolean editable) voidsetFirstPresetDefaultValue(Boolean firstPresetIsDefaultValue) voidsetMaxValue(Double maxValue) voidsetMinValue(Double minValue) voidvoidsetParentUri(URI parentUri) voidsetRequired(Boolean required) voidsetShowInLablink(Boolean showInLablink) voidsetShowInTables(Boolean showInTables) voidvoidsetTypeDefinition(TypeDefinition typeDefinition) voidsetUnitLabel(String unit) voidSet the URI of this object.
-
Field Details
-
name
-
attachToName
-
precision
-
unitLabel
-
typeDefinition
-
showInLablink
-
allowNonPresetValues
-
firstPresetIsDefaultValue
-
dynamicPresets
- Since:
- 2.34
-
showInTables
-
editable
-
deviation
-
controlledVocabulary
-
parentUri
-
childUris
-
presets
-
minValue
-
maxValue
-
required
-
attachToCategory
-
type
-
uri
-
-
Constructor Details
-
Field
public Field()
-
-
Method Details
-
getId
Convenience method for getting the field's id from its URI.- Returns:
- The fields id. Will be null if this object has no URI.
-
getChildUris
-
getPresets
-
getName
-
setName
-
getAttachToName
-
setAttachToName
-
getDisplayPrecision
-
setDisplayPrecision
-
getUnitLabel
-
setUnitLabel
-
getTypeDefinition
-
setTypeDefinition
-
isShowInLablink
public boolean isShowInLablink() -
setShowInLablink
-
isAllowNonPresetValues
public boolean isAllowNonPresetValues() -
setAllowNonPresetValues
-
isFirstPresetDefaultValue
public boolean isFirstPresetDefaultValue() -
setFirstPresetDefaultValue
-
isDynamicPresets
public boolean isDynamicPresets() -
setDynamicPresets
-
isShowInTables
public boolean isShowInTables() -
setShowInTables
-
isEditable
public boolean isEditable() -
setEditable
-
isDeviation
public boolean isDeviation() -
setDeviation
-
isControlledVocabulary
public boolean isControlledVocabulary() -
setControlledVocabulary
-
getParentUri
-
setParentUri
-
getMinValue
-
setMinValue
-
getMaxValue
-
setMaxValue
-
isRequired
public boolean isRequired() -
setRequired
-
getAttachToCategory
-
setAttachToCategory
-
getType
-
setType
-
getUri
Description copied from interface:LocatableGet the URI of this object. -
setUri
Description copied from interface:LocatableSet the URI of this object. -
getLink
Get a concrete link object to thisLinkablething.
-