public class ElementDefinition extends Definition
lineNumber, objectType, WILDCARD, WILDCARD_ELEMENT| Constructor and Description |
|---|
ElementDefinition(Dictionary sourceDictionary,
int lineNumber,
DictIdentifier identifier) |
| Modifier and Type | Method and Description |
|---|---|
void |
addValue(String value) |
Constants.DictionaryType |
getDataType() |
Number |
getMaximum() |
Integer |
getMaxLength() |
Number |
getMinimum() |
Integer |
getMinLength() |
String |
getUnits() |
Collection<String> |
getValues() |
String |
getValueType() |
boolean |
hasMaximum() |
boolean |
hasMaxLength() |
boolean |
hasMinimum() |
boolean |
hasMinLength() |
boolean |
hasValidValues() |
void |
setDataType(Constants.DictionaryType dataType) |
void |
setMaximum(Number maximum) |
void |
setMaxLength(int maxLength) |
void |
setMinimum(Number minimum) |
void |
setMinLength(int minLength) |
void |
setUnits(String units) |
void |
setValues(Collection<String> values) |
void |
setValueType(String valueType) |
addAlias, addAliases, addAliasSimple, getAliases, getDescription, getIdentifier, getLineNumber, getObjectType, getSourceDictionary, getSourceString, getStatusType, hasAliases, hasDescription, hasStatusType, setAliases, setDescription, setIdentifier, setObjectType, setStatusType, toStringpublic ElementDefinition(Dictionary sourceDictionary, int lineNumber, DictIdentifier identifier)
public Constants.DictionaryType getDataType()
public void setDataType(Constants.DictionaryType dataType)
dataType - The dataType to set.public Number getMaximum()
public void setMaximum(Number maximum)
maximum - The maximum to set.public Integer getMaxLength()
public void setMaxLength(int maxLength)
maxLength - The maxLength to set.public Number getMinimum()
public void setMinimum(Number minimum)
minimum - The minimum to set.public Integer getMinLength()
public void setMinLength(int minLength)
minLength - The minLength to set.public String getUnits()
public void setUnits(String units)
units - public Collection<String> getValues()
public void setValues(Collection<String> values)
values - The values to set.public void addValue(String value)
public String getValueType()
public void setValueType(String valueType)
valueType - The valueType to set.public boolean hasValidValues()
public boolean hasMaximum()
public boolean hasMinimum()
public boolean hasMinLength()
public boolean hasMaxLength()
Copyright © 2019. All rights reserved.