Package uk.ac.bristol.star.cdf
Class VariableAttribute
java.lang.Object
uk.ac.bristol.star.cdf.VariableAttribute
Provides the description and per-variable entry values
for a CDF attribute with variable scope.
- Since:
- 20 Jun 2013
-
Constructor Summary
ConstructorsConstructorDescriptionVariableAttribute
(String name, AttributeEntry[] rEntries, AttributeEntry[] zEntries) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionReturns the entry value that a given variable has for this attribute.getName()
Returns this attribute's name.
-
Constructor Details
-
VariableAttribute
Constructor.- Parameters:
name
- attribute namerEntries
- rEntry values for this attributezEntries
- zEntry values for this attribute
-
-
Method Details
-
getName
Returns this attribute's name.- Returns:
- attribute name
-
getEntry
Returns the entry value that a given variable has for this attribute. If the variable has no entry for this attribute, null is returned.- Parameters:
variable
- CDF variable from the same CDF as this attribute- Returns:
- this attribute's value for
variable
-