|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.avalon.meta.info.EntryDescriptor
A descriptor that describes a value that must be placed in components Context. It contains information about;
Constructor Summary | |
EntryDescriptor(String key,
String classname)
Construct an non-volotile required Entry. |
|
EntryDescriptor(String key,
String classname,
boolean optional)
Construct an non-volotile Entry. |
|
EntryDescriptor(String key,
String classname,
boolean optional,
boolean isVolatile)
Construct an Entry. |
|
EntryDescriptor(String key,
String classname,
boolean optional,
boolean isVolatile,
String alias)
Construct an Entry. |
Method Summary | |
boolean |
equals(Object other)
Test is the supplied object is equal to this object. |
String |
getAlias()
Return the alias that Component uses to lookup the entry. |
String |
getClassname()
Return the key type of value that is stored in Context. |
String |
getKey()
Return the key that Component uses to lookup entry. |
int |
hashCode()
Return the hashcode for the object. |
boolean |
isOptional()
Return true if entry is optional, false otherwise. |
boolean |
isRequired()
Return true if entry is required, false otherwise. |
boolean |
isVolatile()
Return true if entry is volotile. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public EntryDescriptor(String key, String classname) throws NullPointerException
key
- the context entry keyclassname
- the classname of the context entry
NullPointerException
- if the key or type value are nullpublic EntryDescriptor(String key, String classname, boolean optional) throws NullPointerException
key
- the context entry keyclassname
- the classname of the context entryoptional
- TRUE if this is an optional entry
NullPointerException
- if the key or type value are nullpublic EntryDescriptor(String key, String classname, boolean optional, boolean isVolatile) throws NullPointerException
key
- the context entry keyclassname
- the classname of the context entryoptional
- TRUE if this is an optional entryisVolatile
- TRUE if the entry is consider to be immutable
NullPointerException
- if the key or type value are nullpublic EntryDescriptor(String key, String classname, boolean optional, boolean isVolatile, String alias) throws NullPointerException
key
- the context entry keyclassname
- the classname of the context entryoptional
- TRUE if this is an optional entryisVolatile
- TRUE if the entry is is volatilealias
- an alternative key used by the component to reference the key
NullPointerException
- if the key or type value are nullMethod Detail |
public String getKey()
public String getAlias()
public String getClassname()
public boolean isOptional()
public boolean isRequired()
public boolean isVolatile()
public boolean equals(Object other)
other
- the object to compare with this instance
public int hashCode()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |