Class Attribute
- java.lang.Object
-
- nl.b3p.tailormap.api.viewer.model.Attribute
-
- All Implemented Interfaces:
Serializable
@Generated("org.openapitools.codegen.languages.SpringCodegen") public class Attribute extends Object implements SerializableAttribute- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Attribute()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AttributeaddValueListItem(String valueListItem)AttributeallowValueListOnly(Boolean allowValueListOnly)AttributedefaultValue(String defaultValue)Attributeeditable(Boolean editable)AttributeeditAlias(String editAlias)booleanequals(Object o)AttributefeatureType(Long featureType)BooleangetAllowValueListOnly()Whether the attribute can only have values from the valueList.StringgetDefaultValue()Default value for this attribute.BooleangetEditable()Whether the attribute can be edited.StringgetEditAlias()Alias to use in edit mode.LonggetFeatureType()Get featureTypeStringgetKey()Name of the attribute.BooleangetNullable()Whether the attribute can be null.@Valid TMAttributeTypegetType()Get typeList<String>getValueList()List of possible values for this attribute.inthashCode()Attributekey(String key)Attributenullable(Boolean nullable)voidsetAllowValueListOnly(Boolean allowValueListOnly)voidsetDefaultValue(String defaultValue)voidsetEditable(Boolean editable)voidsetEditAlias(String editAlias)voidsetFeatureType(Long featureType)voidsetKey(String key)voidsetNullable(Boolean nullable)voidsetType(TMAttributeType type)voidsetValueList(List<String> valueList)StringtoString()Attributetype(TMAttributeType type)AttributevalueList(List<String> valueList)
-
-
-
Method Detail
-
getFeatureType
public Long getFeatureType()
Get featureType- Returns:
- featureType
-
setFeatureType
public void setFeatureType(Long featureType)
-
getKey
public String getKey()
Name of the attribute.- Returns:
- key
-
setKey
public void setKey(String key)
-
type
public Attribute type(TMAttributeType type)
-
getType
@Valid public @Valid TMAttributeType getType()
Get type- Returns:
- type
-
setType
public void setType(TMAttributeType type)
-
getEditable
public Boolean getEditable()
Whether the attribute can be edited.- Returns:
- editable
-
setEditable
public void setEditable(Boolean editable)
-
getEditAlias
public String getEditAlias()
Alias to use in edit mode.- Returns:
- editAlias
-
setEditAlias
public void setEditAlias(String editAlias)
-
getDefaultValue
public String getDefaultValue()
Default value for this attribute. The value may need to be coerced to the correct type.- Returns:
- defaultValue
-
setDefaultValue
public void setDefaultValue(String defaultValue)
-
getNullable
public Boolean getNullable()
Whether the attribute can be null.- Returns:
- nullable
-
setNullable
public void setNullable(Boolean nullable)
-
getValueList
public List<String> getValueList()
List of possible values for this attribute. The value may need to be coerced to the correct type.- Returns:
- valueList
-
getAllowValueListOnly
public Boolean getAllowValueListOnly()
Whether the attribute can only have values from the valueList.- Returns:
- allowValueListOnly
-
setAllowValueListOnly
public void setAllowValueListOnly(Boolean allowValueListOnly)
-
-