gov.nasa.pds.tools.label
Class Scalar
java.lang.Object
gov.nasa.pds.tools.label.Scalar
- All Implemented Interfaces:
- Value
- Direct Known Subclasses:
- DateTime, Numeric, Symbol, TextString
public abstract class Scalar
- extends Object
- implements Value
This class represents a Scalar which can be assigned to an attribute or be a
part of a Set or Sequence.
- Version:
- $Revision: 8263 $
- Author:
- pramirez, jagander
Constructor Summary |
protected |
Scalar(String value)
Constructs a Scalar |
Methods inherited from interface gov.nasa.pds.tools.label.Value |
normalize |
Scalar
protected Scalar(String value)
- Constructs a Scalar
- Parameters:
value
-
getValue
public String getValue()
- Retrieves the value
- Returns:
- the value
toString
public String toString()
- Overrides:
toString
in class Object
isSupportedPDSType
public abstract boolean isSupportedPDSType(Constants.DictionaryType type)
equals
public boolean equals(Object object)
- Overrides:
equals
in class Object
hashcode
public int hashcode()
Copyright © 2005–2013 Planetary Data System. All rights reserved.