uk.ac.bristol.star.cdf
Class GlobalAttribute

java.lang.Object
  extended by uk.ac.bristol.star.cdf.GlobalAttribute

public class GlobalAttribute
extends java.lang.Object

Provides the description and entry values for CDF attribute with global scope.

The gEntries and zEntries are combined in a single list, on the grounds that users are not likely to be much interested in the difference.

Since:
20 Jun 2013

Constructor Summary
GlobalAttribute(java.lang.String name, AttributeEntry[] entries)
          Constructor.
 
Method Summary
 AttributeEntry[] getEntries()
          Returns this attribute's entry values.
 java.lang.String getName()
          Returns this attribute's name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GlobalAttribute

public GlobalAttribute(java.lang.String name,
                       AttributeEntry[] entries)
Constructor.

Parameters:
name - attribute name
entries - attribute entries
Method Detail

getName

public java.lang.String getName()
Returns this attribute's name.

Returns:
attribute name

getEntries

public AttributeEntry[] getEntries()
Returns this attribute's entry values.

Returns:
entry values for this attribute