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:
- java.io.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, getStatusType, hasAliases, hasDescription, hasStatusType, setAliases, setDescription, setIdentifier, setObjectType, setStatusType, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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 java.lang.Number getMaximum()
- Returns:
- Returns the maximum.
setMaximum
public void setMaximum(java.lang.Number maximum)
- Parameters:
maximum
- The maximum to set.
getMaxLength
public java.lang.Integer getMaxLength()
- Returns:
- Returns the maxLength.
setMaxLength
public void setMaxLength(int maxLength)
- Parameters:
maxLength
- The maxLength to set.
getMinimum
public java.lang.Number getMinimum()
- Returns:
- Returns the minimum.
setMinimum
public void setMinimum(java.lang.Number minimum)
- Parameters:
minimum
- The minimum to set.
getMinLength
public java.lang.Integer getMinLength()
- Returns:
- Returns the minLength.
setMinLength
public void setMinLength(int minLength)
- Parameters:
minLength
- The minLength to set.
getUnits
public java.lang.String getUnits()
- Returns:
- Returns the unit id that can be looked up in a dictionary.
setUnits
public void setUnits(java.lang.String units)
- Parameters:
units
-
getValues
public java.util.Collection<java.lang.String> getValues()
- Returns:
- Returns the values.
setValues
public void setValues(java.util.Collection<java.lang.String> values)
- Parameters:
values
- The values to set.
addValue
public void addValue(java.lang.String value)
getValueType
public java.lang.String getValueType()
- Returns:
- Returns the valueType.
setValueType
public void setValueType(java.lang.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-2009 Planetary Data System. All Rights Reserved.