Package com.morpheusdata.model
Class MetadataTag
- java.lang.Object
-
- com.morpheusdata.model.MorpheusModel
-
- com.morpheusdata.model.projection.MetadataTagIdentityProjection
-
- com.morpheusdata.model.MetadataTag
-
public class MetadataTag extends MetadataTagIdentityProjection
Provides a Model representation of a MetadataTag. These tags are used throughout Morpheus to associate names to various Morpheus constructs.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Boolean
masked
protected MetadataTagType
type
protected java.lang.String
value
-
Fields inherited from class com.morpheusdata.model.projection.MetadataTagIdentityProjection
externalId, name, refId, refType
-
Fields inherited from class com.morpheusdata.model.MorpheusModel
config, id
-
-
Constructor Summary
Constructors Constructor Description MetadataTag()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Boolean
getMasked()
Returns whether this tag should be masked in the UIMetadataTagType
getType()
Returns the type of this tagjava.lang.String
getValue()
Returns the value associated to this tagvoid
setMasked(java.lang.Boolean masked)
Sets whether this tag should be masked in the UIvoid
setType(MetadataTagType type)
Sets the type of this tagvoid
setValue(java.lang.String value)
Sets the value for this tag-
Methods inherited from class com.morpheusdata.model.projection.MetadataTagIdentityProjection
getExternalId, getId, getName, getRefId, getRefType, setExternalId, setId, setName, setRefId, setRefType
-
Methods inherited from class com.morpheusdata.model.MorpheusModel
getConfig, getConfigMap, getConfigProperty, getDirtyProperties, getDirtyPropertyValues, getProperties, isDirty, markClean, markDirty, markDirty, setConfig, setConfigMap, setConfigProperty
-
-
-
-
Field Detail
-
type
protected MetadataTagType type
-
value
protected java.lang.String value
-
masked
protected java.lang.Boolean masked
-
-
Method Detail
-
getType
public MetadataTagType getType()
Returns the type of this tag- Returns:
- the type of this tag
-
setType
public void setType(MetadataTagType type)
Sets the type of this tag- Parameters:
type
- the type of this tag
-
getValue
public java.lang.String getValue()
Returns the value associated to this tag- Returns:
- the value
-
setValue
public void setValue(java.lang.String value)
Sets the value for this tag- Parameters:
value
- the value for this tag
-
getMasked
public java.lang.Boolean getMasked()
Returns whether this tag should be masked in the UI- Returns:
- the masked
-
setMasked
public void setMasked(java.lang.Boolean masked)
Sets whether this tag should be masked in the UI- Parameters:
masked
- whether this tag should be masked in the UI
-
-