org.apache.jetspeed.deployment.simpleregistry
Class Entry

java.lang.Object
  extended by org.apache.jetspeed.deployment.simpleregistry.Entry

public class Entry
extends Object

Entry

Simple data type representing some regitered resource.

Version:
$Id: Entry.java 516881 2007-03-11 10:34:21Z ate $
Author:
Scott T. Weaver

Field Summary
private  Map attributes
           
private  String id
           
 
Constructor Summary
Entry()
           
 
Method Summary
 boolean equals(Object obj)
           
 Object getAttribute(String key)
           
 String getId()
           
 int hashCode()
           
 void setAttribute(String key, Object value)
           
 void setId(String string)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

id

private String id

attributes

private Map attributes
Constructor Detail

Entry

public Entry()
Method Detail

getId

public String getId()
Returns:

setId

public void setId(String string)
Parameters:
string -

getAttribute

public Object getAttribute(String key)

setAttribute

public void setAttribute(String key,
                         Object value)

equals

public boolean equals(Object obj)
Overrides:
equals in class Object
See Also:
Object.equals(java.lang.Object)

hashCode

public int hashCode()
Overrides:
hashCode in class Object
See Also:
Object.hashCode()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.