com.novell.zos.grid
Interface FactSet

All Superinterfaces:
Serializable

public interface FactSet
extends Serializable

Definition of a set of facts. Typically this represents all facts associated with a particular Grid Object. Note: There is also a FactSetSnapshot that can hold a read-only, non-dynamic version of the facts


Method Summary
 void addAggregator(String prefix, FactAggregation.FactRef aggregator)
          Method to add a r/w aggregator fact.
 Fact get(String name)
          Retrieves a Fact by name, from the set.
 int getCount()
          The count of facts in this set
 Iterator iterator()
          Iterates over the Facts in the set.
 String toXmlDocument()
          Return a formatted XML document representing the fact set.
 String toXmlDocument(int indent)
          Return a formatted and indented XML document representing the fact set.
 

Method Detail

get

Fact get(String name)
Retrieves a Fact by name, from the set.


iterator

Iterator iterator()
Iterates over the Facts in the set. The objects returned by the iterate.next() are of the Fact class.


getCount

int getCount()
The count of facts in this set

Returns:
the int count of facts in the set

addAggregator

void addAggregator(String prefix,
                   FactAggregation.FactRef aggregator)
Method to add a r/w aggregator fact.


toXmlDocument

String toXmlDocument()
Return a formatted XML document representing the fact set.

Returns:
the XML String representing the fact set

toXmlDocument

String toXmlDocument(int indent)
Return a formatted and indented XML document representing the fact set.

Returns:
the XML String representing the fact set


Copyright (c) 2010 Novell, Inc. All rights reserved.