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:
- java.lang.Comparable<java.lang.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: 4967 $
- Author:
- pramirez, jagander
Methods inherited from class gov.nasa.pds.tools.label.Statement |
attachComment, compareTo, getComment, getIdentifier, getLineNumber, getSourceFile, getSourceURI, toString, validateCommentType, validateElementType, validateGroupType, validateObjectType, validatePointerType, validateType |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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 java.util.List<FileReference> getFileRefs()
Copyright © 2005-2009 Planetary Data System. All Rights Reserved.