|
© 2003 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.bea.netuix.servlets.controls.Capability
Specifies a named capability for a control.
Constructor Summary | |
protected |
Capability(com.bea.netuix.nf.state.ControlStateReader reader)
Constructs a capability from the given reader. |
|
Capability(String name)
Constructs a capability with the given name. |
|
Capability(String name,
boolean entitlementsEnabled)
Constructs a capability with the given name. |
Method Summary | |
boolean |
equals(Capability c)
Returns true if the given capability is equal
to this capability. |
boolean |
equals(Object o)
Returns true if the given object is equal to
this object. |
String |
getName()
Returns the name of this capability. |
boolean |
isEntitlementsEnabled()
Are entitlements enabled for this capability? |
void |
setEntitlementsEnabled(boolean entitlementsEnabled)
Are entitlements enabled for this capability? |
void |
setName(String name)
|
String |
toString()
Returns a string. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Capability(String name)
Constructs a capability with the given name.
name
- public Capability(String name, boolean entitlementsEnabled)
Constructs a capability with the given name.
name
- protected Capability(com.bea.netuix.nf.state.ControlStateReader reader)
Constructs a capability from the given reader.
reader
- readerMethod Detail |
public String getName()
Returns the name of this capability.
public void setName(String name)
public boolean isEntitlementsEnabled()
public void setEntitlementsEnabled(boolean entitlementsEnabled)
entitlementsEnabled
- yes/nopublic String toString()
Returns a string.
toString
in class Object
public boolean equals(Capability c)
Returns true
if the given capability is equal
to this capability.
c
- capability
public boolean equals(Object o)
Returns true
if the given object is equal to
this object.
equals
in class Object
o
- capability
|
© 2003 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |