|
© 2005 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bea.netuix.servlets.controls.Capability
Represents a named capability for a control
.
Constructor Summary | |
Capability(String name)
Construct a Capability with a given name. |
|
Capability(String name,
boolean entitlementsEnabled)
Construct a Capability with a given name and specify whether or not entitlements are enabled. |
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()
Returns whether or not entitlements are enabled for this Capability. |
void |
setEntitlementsEnabled(boolean entitlementsEnabled)
Set whether or not entitlements are enabled for this Capability. |
void |
setName(String name)
Sets the name of this Capability . |
String |
toString()
Returns this Capability as a String . |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Capability(String name)
Construct a Capability
with a given name.
public Capability(String name, boolean entitlementsEnabled)
Construct a Capability
with a given name and specify whether or not entitlements are enabled.
Method Detail |
public boolean equals(Capability c)
Returns true
if the given Capability is equal
to this Capability.
c
- the Capability to compare this
to
public boolean equals(Object o)
Returns true
if the given Object is equal to
this Object.
o
- Object to compare this
to
equals
this Capabilitypublic String getName()
Returns the name of this Capability.
name
of this Capability
public boolean isEntitlementsEnabled()
Returns whether or not entitlements are enabled for this Capability.
public void setEntitlementsEnabled(boolean entitlementsEnabled)
Set whether or not entitlements are enabled for this Capability.
entitlementsEnabled
- whether or not entitlements are enabled for this Capabilitypublic void setName(String name)
Sets the name
of this Capability
.
name
- the name
of this Capability
public String toString()
Returns this Capability
as a String
.
String
representation of this Capability
|
© 2005 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |