|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.remote.crawler.ContainerMetaData
Stores metadata information about the Container
object.
Constructor Summary | |
ContainerMetaData()
Default constructor. |
|
ContainerMetaData(NamedValue[] nvArray)
Valued constructor. |
Method Summary | |
void |
fromArray(NamedValue[] nvArray)
Overwrites the content of this map with the data from the input NamedValue array. |
java.lang.Object |
get(java.lang.Object key,
java.lang.Object def)
Returns an object mapped to a key or uses a default object if no value is found. |
java.lang.String |
get(java.lang.String key)
Gets the value for the input key. |
java.lang.String |
getDescription()
Gets the textual description of this container. |
java.lang.String |
getName()
Gets the name of this container. |
java.lang.String |
put(java.lang.String key,
java.lang.String value)
Inserts a key/value mapping into the map. |
java.lang.String |
setDescription(java.lang.String value)
Sets the textual description of this container. |
java.lang.String |
setName(java.lang.String value)
Sets the name of this container. |
NamedValue[] |
toArray()
Returns the contents of this map as a NamedValue array |
java.lang.String |
toString()
Returns a String representation of the mapping for debugging. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ContainerMetaData()
public ContainerMetaData(NamedValue[] nvArray)
nvArray
- a NamedValue
array to use as dataMethod Detail |
public java.lang.String getName()
public java.lang.String setName(java.lang.String value)
value
- the new name
public java.lang.String getDescription()
public java.lang.String setDescription(java.lang.String value)
value
- the new description
public java.lang.Object get(java.lang.Object key, java.lang.Object def)
key
- the key mapped to the object to be returneddef
- the default object value
public java.lang.String get(java.lang.String key)
key
- the key
public java.lang.String put(java.lang.String key, java.lang.String value)
key
- the key string to be addedvalue
- the value string to be mapped to the key
public void fromArray(NamedValue[] nvArray)
NamedValue
array.
nvArray
- the NamedValue
array containing the new datapublic NamedValue[] toArray()
NamedValue
array
NamedValue
arraypublic java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright ©2010 Oracle® Corporation. All Rights Reserved.