CompositeMetadatapublic final class CompositeMetadata extends Metadata A class to hold a collection of children AttributeMetadata. This class is
used mainly to store a collection of AttributeMetaData that are part of a
WebSession. The metadata about the web session itself can be obtained
directly from the CompositeMetadata itself, while the metadata of its
attributes can be obtained from the individual AttributeMetadata that is part
of the collection returned by getEntries(). |
Fields Summary |
---|
private byte[] | state | private Collection | entries | private String | extraParam |
Constructors Summary |
---|
public CompositeMetadata(long version, long lastAccessTime, long maxInactiveInterval, Collection entries, byte[] state, String extraParam)Construct a CompositeMetadata object
super(version, lastAccessTime, maxInactiveInterval);
this.entries = entries;
this.state = state;
this.extraParam = extraParam;
|
Methods Summary |
---|
public java.util.Collection | getEntries()Returns a collection of Metadata (or its subclass). Note that though it
is possible to have a compositeMetadata itself as part of this
collection, typically they contain only AttributeMetaData
return entries;
| public java.lang.String | getExtraParam()Get the extra param associated with this metadata
return extraParam;
| public byte[] | getState()Get the state of the object that is stored.
return state;
|
|