|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.jetspeed.om.registry.base.BaseCapabilityMap
Simple bean-like implementation of the CapabilityMap
| Constructor Summary | |
BaseCapabilityMap()
|
|
| Method Summary | |
void |
addCapability(java.lang.String name)
Adds the given capability |
boolean |
contains(java.lang.String capability)
Checks if the argument capability is included in this map |
boolean |
containsAll(CapabilityMap map)
Checks if the all the elements of argument capability map are included in the current one |
boolean |
equals(java.lang.Object object)
Implements the equals operation so that 2 elements are equal if all their member values are equal. |
java.util.Iterator |
getCapabilities()
Returns an enumeration of all capabilities a client is capabale of. |
java.util.Vector |
getCaps()
|
void |
removeCapability(java.lang.String name)
Removes the given capability |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public BaseCapabilityMap()
| Method Detail |
public boolean equals(java.lang.Object object)
public java.util.Iterator getCapabilities()
CapabilityMap
getCapabilities in interface CapabilityMappublic void addCapability(java.lang.String name)
CapabilityMap
addCapability in interface CapabilityMapname - the name of the new capabilitypublic void removeCapability(java.lang.String name)
CapabilityMap
removeCapability in interface CapabilityMapname - the name of the capability to be removedpublic boolean contains(java.lang.String capability)
contains in interface CapabilityMappublic boolean containsAll(CapabilityMap map)
containsAll in interface CapabilityMapmap - a CapabilityMap implementation to test
public java.util.Vector getCaps()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||