|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.bea.netuix.servlets.controls.Capability
public class 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.
name - the name to give this Capability
public Capability(String name,
boolean entitlementsEnabled)
Construct a Capability with a given name and specify whether or not entitlements are enabled.
name - the name to give this CapabilityentitlementsEnabled - whether or not entitlements are enabled for this Capability| Method Detail |
|---|
public String getName()
Returns the name of this Capability.
name of this Capabilitypublic void setName(String name)
Sets the name of this Capability.
name - the name of this Capabilitypublic 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 String toString()
Returns this Capability as a String.
toString in class ObjectString representation of this Capabilitypublic 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.
equals in class Objecto - Object to compare this to
equals this Capability
|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||