|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
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
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 Capabilitypublic 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 CapabilityMethod Detail |
---|
public String getName()
Returns the name of this Capability.
name
of this Capability
public void setName(String name)
Sets the name
of this Capability
.
name
- the 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 String toString()
Returns this Capability
as a String
.
toString
in class Object
String
representation of this Capability
public boolean equals(Capability c)
Returns true
if the given Capability is equal to this Capability.
c
- the Capability to compare this
topublic boolean equals(Object o)
Returns true
if the given Object is equal to this Object.
equals
in class Object
o
- Object to compare this
toequals
this Capability
|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2010, Oracle. All rights reserved.