com.ibm.uddi.v3.management
Class PolicyGroup
- java.lang.Object
-
- com.ibm.uddi.v3.management.PolicyGroup
-
- All Implemented Interfaces:
- java.io.Serializable
public class PolicyGroup extends java.lang.Object implements java.io.SerializableRepresents a UDDI policy group. This is a logical grouping of policies that are related to each other.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description PolicyGroup()Constructor taking no arguments.
-
Method Summary
Methods Modifier and Type Method and Description java.lang.StringgetAliasName()Returns human readable name for this policy group.java.lang.StringgetDescriptionKey()Gets the key for this policy group's descriptionjava.lang.StringgetId()Gets the id of this policy groupjava.lang.StringgetNameKey()Gets the key for this policy group's namejava.util.ListgetPolicies()Gets the list of all the policies belonging to this policy group.booleanisInternal()Returnstrueif the policy group is hidden from use.voidsetAliasName(java.lang.String aliasName)Sets human readable name for this policy group.voidsetDescriptionKey(java.lang.String descriptionKey)Sets the description key.voidsetId(java.lang.String id)Sets the ID.voidsetInternal(boolean internal)Sets the flag indicating if this policy group and all child policies are hidden from use.voidsetNameKey(java.lang.String nameKey)Sets the name message key.voidsetPolicies(java.util.List policies)Sets the policies present in this policy group.java.lang.StringtoString()
-
-
-
Method Detail
-
getDescriptionKey
public java.lang.String getDescriptionKey()
Gets the key for this policy group's description- Returns:
-
getId
public java.lang.String getId()
Gets the id of this policy group- Returns:
-
getNameKey
public java.lang.String getNameKey()
Gets the key for this policy group's name- Returns:
-
getPolicies
public java.util.List getPolicies()
Gets the list of all the policies belonging to this policy group. The list should only contain com.ibm.uddi.v3.admingui.core.Policy objects.- Returns:
-
setDescriptionKey
public void setDescriptionKey(java.lang.String descriptionKey)
Sets the description key. Populated by configuration initialization.- Parameters:
descriptionKey-
-
setId
public void setId(java.lang.String id)
Sets the ID.- Parameters:
id-
-
setNameKey
public void setNameKey(java.lang.String nameKey)
Sets the name message key. Populated by configuration initialization.- Parameters:
nameKey-
-
setPolicies
public void setPolicies(java.util.List policies)
Sets the policies present in this policy group.- Parameters:
policies-
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
isInternal
public boolean isInternal()
Returnstrueif the policy group is hidden from use.- Returns:
-
setInternal
public void setInternal(boolean internal)
Sets the flag indicating if this policy group and all child policies are hidden from use.- Parameters:
internal- -trueif this policy group and all child policies are to be hidden from use.
-
getAliasName
public java.lang.String getAliasName()
Returns human readable name for this policy group.- Returns:
-
setAliasName
public void setAliasName(java.lang.String aliasName)
Sets human readable name for this policy group.- Parameters:
aliasName-
-
-