gov.nasa.pds.tools.label
Class PointerStatement
java.lang.Object
gov.nasa.pds.tools.label.Statement
gov.nasa.pds.tools.label.PointerStatement
- All Implemented Interfaces:
- Comparable<Object>
- Direct Known Subclasses:
- SpecialPointer
public class PointerStatement
- extends Statement
This class is the object representation of a pointer statement in a label.
- Version:
- $Revision: 8250 $
- Author:
- pramirez, jagander
Methods inherited from class gov.nasa.pds.tools.label.Statement |
attachComment, compareTo, getComment, getIdentifier, getLabel, getLineNumber, getSourceFile, getSourceString, getSourceURI, toString, validateCommentType, validateElementType, validateGroupType, validateObjectType, validatePointerType, validateType |
value
protected Value value
externalReference
protected boolean externalReference
PointerStatement
protected PointerStatement(Label sourceLabel,
int lineNumber,
DictIdentifier identifier)
- Constructs essentially a null pointer
- Parameters:
pointerType
- indicates whether it is data location, include, or description
pointerlineNumber
- at which the statement occursidentifier
- of the statement
PointerStatement
protected PointerStatement(Label sourceLabel,
int lineNumber,
DictIdentifier identifier,
Value value)
- Constructs a pointer with a value on the right hand side
- Parameters:
pointerType
- indicates whether it is data location, include, or description
pointerlineNumber
- at which the statement occursidentifier
- of the statementvalue
- of the assignment
getValue
public Value getValue()
- Returns the value portion (right hand side) of the statement.
- Returns:
- value
hasMultipleReferences
public boolean hasMultipleReferences()
getFileRefs
public List<FileReference> getFileRefs()
equals
public boolean equals(Object object)
- Overrides:
equals
in class Object
hashcode
public int hashcode()
Copyright © 2005-2011 Planetary Data System. All Rights Reserved.