gov.nasa.pds.tools.dict
Class ElementDefinition
java.lang.Object
gov.nasa.pds.tools.dict.Definition
gov.nasa.pds.tools.dict.ElementDefinition
- All Implemented Interfaces:
- Serializable
public class ElementDefinition
- extends Definition
- Version:
- $Revision: 4967 $
- Author:
- pramirez, jagander
- See Also:
- Serialized Form
Methods inherited from class gov.nasa.pds.tools.dict.Definition |
addAlias, addAliases, addAliasSimple, getAliases, getDescription, getIdentifier, getLineNumber, getObjectType, getSourceDictionary, getSourceString, getStatusType, hasAliases, hasDescription, hasStatusType, setAliases, setDescription, setIdentifier, setObjectType, setStatusType, toString |
ElementDefinition
public ElementDefinition(Dictionary sourceDictionary,
int lineNumber,
DictIdentifier identifier)
getDataType
public Constants.DictionaryType getDataType()
- Returns:
- Returns the dataType.
setDataType
public void setDataType(Constants.DictionaryType dataType)
- Parameters:
dataType
- The dataType to set.
getMaximum
public Number getMaximum()
- Returns:
- Returns the maximum.
setMaximum
public void setMaximum(Number maximum)
- Parameters:
maximum
- The maximum to set.
getMaxLength
public Integer getMaxLength()
- Returns:
- Returns the maxLength.
setMaxLength
public void setMaxLength(int maxLength)
- Parameters:
maxLength
- The maxLength to set.
getMinimum
public Number getMinimum()
- Returns:
- Returns the minimum.
setMinimum
public void setMinimum(Number minimum)
- Parameters:
minimum
- The minimum to set.
getMinLength
public Integer getMinLength()
- Returns:
- Returns the minLength.
setMinLength
public void setMinLength(int minLength)
- Parameters:
minLength
- The minLength to set.
getUnits
public String getUnits()
- Returns:
- Returns the unit id that can be looked up in a dictionary.
setUnits
public void setUnits(String units)
- Parameters:
units
-
getValues
public Collection<String> getValues()
- Returns:
- Returns the values.
setValues
public void setValues(Collection<String> values)
- Parameters:
values
- The values to set.
addValue
public void addValue(String value)
getValueType
public String getValueType()
- Returns:
- Returns the valueType.
setValueType
public void setValueType(String valueType)
- Parameters:
valueType
- The valueType to set.
hasValidValues
public boolean hasValidValues()
hasMaximum
public boolean hasMaximum()
hasMinimum
public boolean hasMinimum()
hasMinLength
public boolean hasMinLength()
hasMaxLength
public boolean hasMaxLength()
Copyright © 2005–2013 Planetary Data System. All rights reserved.