|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.bea.ales.management.Scope
Field Summary | |
static java.lang.String |
ALES_APPLICATION
|
static java.lang.String |
ALES_ORGANIZATION
|
static java.lang.String |
SCOPE_SEPARATOR
|
Method Summary | |
void |
addAttribute(AttributeElement attr)
Add the attribute to this scope |
AttributeElement |
getAttribute(java.lang.String attrName)
Get the specific attribute of this scope by attribute name |
AttributeQueryResult |
getAttributes()
Get the attributes of this scope. |
java.lang.String |
getDescription()
Get the description of the scope |
java.lang.String |
getFullQualifiedName()
Get full qualified name of the scope, e.g. |
java.lang.String |
getName()
Get the scope name |
Organization |
getParentScope()
Get parent scope |
java.lang.String |
getType()
Get the scope type |
boolean |
isRoot()
Checks if the Scope is root scope represented by
RootOrg . |
void |
modifyAttribute(AttributeElement oldAttr,
AttributeElement newAttr)
Modify the scope attribute. |
void |
removeAttribute(AttributeElement attr)
Remove the scope attribute. |
void |
removeAttribute(java.lang.String attrName)
Remove scope attribute with the specified name. |
abstract void |
rename(java.lang.String newName)
Rename the scope |
void |
setDescription(java.lang.String description)
Set the description of this scope |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public static java.lang.String ALES_ORGANIZATION
public static java.lang.String ALES_APPLICATION
public static final java.lang.String SCOPE_SEPARATOR
Method Detail |
public Organization getParentScope() throws ManagementException
public java.lang.String getType()
public abstract void rename(java.lang.String newName) throws ManagementException
newName
- the new namepublic java.lang.String getName()
public java.lang.String getDescription() throws ManagementException
public void setDescription(java.lang.String description) throws ManagementException
description
- the description to setpublic AttributeQueryResult getAttributes() throws ManagementException
public AttributeElement getAttribute(java.lang.String attrName) throws ManagementException
attrName
- the name of the attribute. It can not be null or zero length string.public void addAttribute(AttributeElement attr) throws ManagementException
attr
- the attributeElement to be added.public void modifyAttribute(AttributeElement oldAttr, AttributeElement newAttr) throws ManagementException
oldAttr
- the attribute to be modifiednewAttr
- the new attribute desired. It has the same name and type as the old one but with new vaule desired.public void removeAttribute(java.lang.String attrName) throws ManagementException
attrName
- name of the attribute to be removed. It can not be null or
zero length string.public void removeAttribute(AttributeElement attr) throws ManagementException
attr
- the attribute to be removed. It can not be null.public java.lang.String getFullQualifiedName()
public boolean isRoot()
Scope
is root scope represented by
RootOrg
.
true
if the scope is the root scope.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |