net.dpml.station.info
Class RegistryDescriptor

java.lang.Object
  extended by net.dpml.station.info.AbstractDescriptor
      extended by net.dpml.station.info.RegistryDescriptor
All Implemented Interfaces:
Serializable

public class RegistryDescriptor
extends AbstractDescriptor

The RegistryDescriptor is immutable datastructure used to hold the state of an application registry.

Version:
1.0.3
Author:
Digital Product Meta Library
See Also:
Serialized Form

Nested Class Summary
static class RegistryDescriptor.Entry
          Binding of key to descriptor.
 
Field Summary
static String DEFAULT_STORAGE_PATH
          The default storage path.
static URI DEFAULT_STORAGE_URI
          The default storage uri.
 
Constructor Summary
RegistryDescriptor(RegistryDescriptor.Entry[] entries)
          Creation of a new registry descriptor.
 
Method Summary
 boolean equals(Object other)
          Compare this object with another for equality.
 RegistryDescriptor.Entry[] getEntries()
          Returns the array of application descriptors.
 int hashCode()
          Return the hashcode for the object.
 String toString()
          Return a string representation of the registry.
 
Methods inherited from class net.dpml.station.info.AbstractDescriptor
equals, hashArray, hashValue
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

DEFAULT_STORAGE_PATH

public static final String DEFAULT_STORAGE_PATH
The default storage path.

See Also:
Constant Field Values

DEFAULT_STORAGE_URI

public static final URI DEFAULT_STORAGE_URI
The default storage uri.

Constructor Detail

RegistryDescriptor

public RegistryDescriptor(RegistryDescriptor.Entry[] entries)
Creation of a new registry descriptor.

Parameters:
entries - an array of application entries
Method Detail

getEntries

public RegistryDescriptor.Entry[] getEntries()
Returns the array of application descriptors.

Returns:
the application entry array

equals

public boolean equals(Object other)
Compare this object with another for equality.

Overrides:
equals in class AbstractDescriptor
Parameters:
other - the object to compare this object with
Returns:
TRUE if the supplied object equivalent

hashCode

public int hashCode()
Return the hashcode for the object.

Overrides:
hashCode in class AbstractDescriptor
Returns:
the hashcode value

toString

public String toString()
Return a string representation of the registry.

Overrides:
toString in class Object
Returns:
the string value