|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StoredTag
The information that must be maintained and persisted for a
Device
and Domain
including its tagged device and domain members.
A StoredTag
tracks every StoredDevice
and StoreDomain
that is tagged by it.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT_2012
|
Fields inherited from interface com.ibm.datapower.wamt.dataAPI.Persistable |
---|
COPYRIGHT_2009_2010, SCM_REVISION |
Method Summary | |
---|---|
void |
add(StoredDevice device)
Adds the specified device to this tag. |
void |
add(StoredDomain domain)
Adds the specified domain to this tag. |
StoredDevice[] |
getDeviceMembers()
Gets the array of devices which are members of this tag. |
StoredDomain[] |
getDomainMembers()
Gets the array of domains which are members of this tag. |
java.lang.String |
getName()
Gets the name of this StoredTag. |
java.lang.String |
getValue()
Gets the value of this StoredTag. |
void |
remove(StoredDevice device)
Removes the specified device from this tagged set. |
void |
remove(StoredDomain domain)
Removes the specified domain from this tagged set. |
Methods inherited from interface com.ibm.datapower.wamt.dataAPI.Persistable |
---|
getPrimaryKey |
Field Detail |
---|
static final java.lang.String COPYRIGHT_2012
Method Detail |
---|
java.lang.String getName()
setName(String)
method.
java.lang.String getValue()
setName(String)
method.
void add(StoredDevice device)
Device.addTag(String, String)
device
- the device to addadd(StoredDomain)
void add(StoredDomain domain)
Domain.addTag(String, String)
domain
- the domain to addadd(StoredDevice)
StoredDevice[] getDeviceMembers()
This is invoked by
{@link com.ibm.datapower.wamt.clientAPI.Device#getTagNames()}
StoredDomain[] getDomainMembers()
This is invoked by
{@link com.ibm.datapower.wamt.clientAPI.Domain#getTagNames()}
void remove(StoredDevice device)
Device.removeTag(String)
The removed device is still persisted in the repository though it is no longer tagged by this tag.
You can reverse this by adding the device back to the tag.
device
- the device to removeadd(StoredDevice)
,
getDeviceMembers()
void remove(StoredDomain domain)
StoredDomain.remove(StoredTag)
and
)
The removed domain is still persisted in the repository though it is no longer tagged by this tag.
You can reverse this by adding the domain back to the tag.
domain
- the domain to removeadd(StoredDomain)
,
getDomainMembers()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |