|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PolicyActionParameter
Models the action parameters for PolicyActionTemplate
Method Summary | |
---|---|
void |
addPolicyActionParameter(PolicyActionParameter policyActionParameter)
Adds the PolicyActionParameter to the existing child PolicyActionParameter collection. |
java.util.List<PolicyActionParameter> |
getChildActionParameters()
Returns the list of child action parameters for this action parameter |
java.lang.String |
getDefaultValue()
Returns the default value for the PolicyActionParameter. |
PolicyActionParameter |
getPolicyActionParameterByName(java.lang.String name)
Returns the child PolicyActionParameter with the given name. |
java.util.Collection<javax.xml.registry.infomodel.Concept> |
getPossibleValueConcepts()
Returns the Collection of Possible Value concepts for the system policyActionParameter. |
java.util.Collection |
getPossibleValues()
Returns the Collection of Possible Values for the PolicyActionParameter. |
java.lang.String |
getType()
Returns the type of PolicyActionParameter. |
boolean |
isArray()
Returns this PolicyActionParameter is ArrayType or not |
boolean |
isRequired()
Returns whether this action parameter is mandatory in the context of the Policy Action which uses it |
boolean |
isSystem()
Returns true if this is a system PolicyActionParameter, false otherwise |
void |
removePolicyActionParameter(PolicyActionParameter childActionParameter)
Removes the child PolicyActionParameter from the existing set of PolicyActionParameters for this input. |
void |
removePolicyActionParameterByName(java.lang.String childActionParameterName)
Removes the child PolicyActionParameter with the specified name from the PolicyActionParameter. |
void |
setArray(boolean isArray)
Set the Array flag to the given boolean if set to true implies that the policy parameter creating from this action parameter can have multiple values |
void |
setDefaultValue(java.lang.String defaultValue)
Sets the the default value for the PolicyActionParameter. |
void |
setPolicyActionParameters(java.util.List<PolicyActionParameter> childActionParameters)
Sets the child PolicyActionParameters of this PolicyActionParameter. |
void |
setPossibleValues(java.util.Collection possibleValues)
Sets the PossibleValues. |
void |
setRequired(boolean required)
Sets whether this action parameter is mandatory or not in the context of the Policy Action which uses it |
Methods inherited from interface com.softwareag.centrasite.policy.api.PolicyRegistryObject |
---|
addAssociation, addAssociation, getAllClassifiedConcepts, getAllJAXRObjects, getAllObsoleteObjects, getAssociations, getAssociations, getClassifications, getClassifiedConcept, getDescription, getJAXRObject, getJAXRRegistryService, getKey, getLoggedInUserLocale, getName, removeAllAssociations, removeAllClassifications, setDescription, setName, toXMLForRepair |
Method Detail |
---|
java.lang.String getDefaultValue() throws javax.xml.registry.JAXRException
javax.xml.registry.JAXRException
void setDefaultValue(java.lang.String defaultValue) throws javax.xml.registry.JAXRException
defaultValue
- value to be set as default.
javax.xml.registry.JAXRException
boolean isRequired() throws javax.xml.registry.JAXRException
javax.xml.registry.JAXRException
void setRequired(boolean required) throws javax.xml.registry.JAXRException
required
- true if this action parameter is mandatory, false otherwise.
javax.xml.registry.JAXRException
boolean isArray() throws javax.xml.registry.JAXRException
javax.xml.registry.JAXRException
void setArray(boolean isArray) throws javax.xml.registry.JAXRException
isArray
-
javax.xml.registry.JAXRException
java.util.Collection getPossibleValues() throws javax.xml.registry.JAXRException
javax.xml.registry.JAXRException
java.util.Collection<javax.xml.registry.infomodel.Concept> getPossibleValueConcepts() throws javax.xml.registry.JAXRException
javax.xml.registry.JAXRException
void setPossibleValues(java.util.Collection possibleValues) throws javax.xml.registry.JAXRException
possibleValues
- possibleValues to set.
javax.xml.registry.JAXRException
java.lang.String getType() throws javax.xml.registry.JAXRException
ParameterTypeConstants
If not it will
be the key of the specific object type.
javax.xml.registry.JAXRException
java.util.List<PolicyActionParameter> getChildActionParameters() throws javax.xml.registry.JAXRException, PolicyException
javax.xml.registry.JAXRException
PolicyException
PolicyActionParameter getPolicyActionParameterByName(java.lang.String name) throws javax.xml.registry.JAXRException, PolicyException
name
- name to be matched for the PolicyActionParameter.
javax.xml.registry.JAXRException
PolicyException
void setPolicyActionParameters(java.util.List<PolicyActionParameter> childActionParameters) throws javax.xml.registry.JAXRException
childActionParameters
- child action parameters to be set for this PolicyActionParameter.
javax.xml.registry.JAXRException
void addPolicyActionParameter(PolicyActionParameter policyActionParameter) throws javax.xml.registry.JAXRException
policyActionParameter
- child PolicyActionParameter to be added.
javax.xml.registry.JAXRException
void removePolicyActionParameter(PolicyActionParameter childActionParameter) throws javax.xml.registry.JAXRException
childActionParameter
- child PolicyActionParameter to be removed.
javax.xml.registry.JAXRException
void removePolicyActionParameterByName(java.lang.String childActionParameterName) throws javax.xml.registry.JAXRException, PolicyException
childActionParameterName
- Name of the child PolicyActionParameter to be removed.
javax.xml.registry.JAXRException
PolicyException
boolean isSystem() throws javax.xml.registry.JAXRException, PolicyException
javax.xml.registry.JAXRException
PolicyException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |