|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PolicyParameter
Models the parameters for a specific PolicyActionInstance
Method Summary | |
---|---|
PolicyParameter |
addParameter(PolicyActionParameter policyActionParameter,
boolean value)
Adds PolicyParameter from the PolicyActionParameter with the value. |
PolicyParameter |
addParameter(PolicyActionParameter policyActionParameter,
com.centrasite.jaxr.infomodel.CentraSiteRegistryObject registryObject)
Adds PolicyParameter from the PolicyActionParameter with the value. |
PolicyParameter |
addParameter(PolicyActionParameter policyActionParameter,
java.util.Collection values)
Adds PolicyParameter from the PolicyActionParameter with the value. |
PolicyParameter |
addParameter(PolicyActionParameter policyActionParameter,
java.util.Date value)
Adds PolicyParameter from the PolicyActionParameter with the value. |
PolicyParameter |
addParameter(PolicyActionParameter policyActionParameter,
double value)
Adds PolicyParameter from the PolicyActionParameter with the value. |
PolicyParameter |
addParameter(PolicyActionParameter policyActionParameter,
java.lang.String value)
Adds PolicyParameter from the PolicyActionParameter with the value. |
PolicyParameter |
addParameter(PolicyActionParameter policyActionParameter,
java.net.URL value)
Adds PolicyParameter from the PolicyActionParameter with the value. |
void |
addParameter(PolicyParameter childParameter)
Adds the given parameter to the list of child parameters |
void |
addParameters(java.util.List<PolicyParameter> parameters)
Adds the given parameters to the list of child parameters |
PolicyActionParameter |
getActionParameter()
Get the Policy Action Parameter based on which this Policy Parameter was created |
java.util.List<PolicyParameter> |
getChildParameters()
Get the list of all child parameters of this policy parameter |
PolicyParameter |
getParameter(java.lang.String name)
Returns the child PolicyParameter with the name. |
java.util.List<PolicyParameter> |
getParameters(java.lang.String name)
Returns the list of child PolicyParameters with the name. |
com.centrasite.jaxr.infomodel.CentraSiteInternationalString |
getParameterTemplateName()
|
java.lang.String |
getType()
Returns the type of PolicyParameter. |
java.lang.String |
getValue()
Returns the value of the PolicyParameter. |
boolean |
getValueAsBoolean()
Returns the value of the PolicyParameter. |
java.util.Date |
getValueAsDate()
Returns the value of the PolicyParameter. |
double |
getValueAsNumber()
Returns the value of the PolicyParameter. |
com.centrasite.jaxr.infomodel.CentraSiteRegistryObject |
getValueAsRegistryObject()
If the parameter references a JAXR object, that will be returned. |
java.net.URL |
getValueAsURL()
Returns the value of the PolicyParameter. |
java.util.Collection |
getValues()
Returns the value of the PolicyParameter. |
boolean |
isArray()
Returns this PolicyActionParameter is ArrayType or not |
boolean |
isRoType()
Returns if this parameter is a registry object type. |
void |
removeParameter(PolicyParameter policyParameter)
Removes the PolicyParameter from the Collection of PolicyParameters. |
void |
removeParameterByName(java.lang.String policyParameterName)
Removes the PolicyParameter from the Collection of PolicyParameters. |
void |
setValue(boolean value)
Sets the value of the PolicyParameter. |
void |
setValue(com.centrasite.jaxr.infomodel.CentraSiteRegistryObject registryObject)
Sets the specified CSRO as the parameter creates an association to the CSRO from this parameter. |
void |
setValue(java.util.Date value)
Sets the value of the PolicyParameter. |
void |
setValue(double value)
Sets the value of the PolicyParameter. |
void |
setValue(java.lang.String value)
Sets the value of the PolicyParameter. |
void |
setValue(java.net.URL value)
Sets the value of the PolicyParameter. |
void |
setValues(java.util.Collection values)
Sets the value of the PolicyParameter. |
void |
validate()
Validates the Policy Parameter If the mandatory parameter doesnot have required values, throws PolicyException |
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 |
---|
com.centrasite.jaxr.infomodel.CentraSiteInternationalString getParameterTemplateName() throws javax.xml.registry.JAXRException, PolicyException
javax.xml.registry.JAXRException
PolicyException
PolicyActionParameter getActionParameter() throws javax.xml.registry.JAXRException, PolicyException
javax.xml.registry.JAXRException
PolicyException
java.util.List<PolicyParameter> getChildParameters() throws javax.xml.registry.JAXRException, PolicyException
javax.xml.registry.JAXRException
PolicyException
com.centrasite.jaxr.infomodel.CentraSiteRegistryObject getValueAsRegistryObject() throws javax.xml.registry.JAXRException, PolicyException
javax.xml.registry.JAXRException
PolicyException
java.lang.String getValue() throws javax.xml.registry.JAXRException, PolicyException
javax.xml.registry.JAXRException
PolicyException
java.net.URL getValueAsURL() throws javax.xml.registry.JAXRException, PolicyException
javax.xml.registry.JAXRException
PolicyException
boolean getValueAsBoolean() throws javax.xml.registry.JAXRException, PolicyException
javax.xml.registry.JAXRException
PolicyException
java.util.Date getValueAsDate() throws javax.xml.registry.JAXRException, PolicyException
javax.xml.registry.JAXRException
PolicyException
double getValueAsNumber() throws javax.xml.registry.JAXRException, PolicyException
javax.xml.registry.JAXRException
PolicyException
java.util.Collection getValues() throws javax.xml.registry.JAXRException, PolicyException
javax.xml.registry.JAXRException
PolicyException
void setValue(java.lang.String value) throws javax.xml.registry.JAXRException, PolicyException
value
- value to set.
javax.xml.registry.JAXRException
PolicyException
void setValue(java.net.URL value) throws javax.xml.registry.JAXRException, PolicyException
value
- value to set.
javax.xml.registry.JAXRException
PolicyException
void setValue(boolean value) throws javax.xml.registry.JAXRException, PolicyException
value
- value to set.
javax.xml.registry.JAXRException
PolicyException
void setValue(java.util.Date value) throws javax.xml.registry.JAXRException, PolicyException
value
- value to set.
javax.xml.registry.JAXRException
PolicyException
void setValue(double value) throws javax.xml.registry.JAXRException, PolicyException
value
- value to set.
javax.xml.registry.JAXRException
PolicyException
void setValue(com.centrasite.jaxr.infomodel.CentraSiteRegistryObject registryObject) throws javax.xml.registry.JAXRException, PolicyException
registryObject
-
javax.xml.registry.JAXRException
PolicyException
void setValues(java.util.Collection values) throws javax.xml.registry.JAXRException, PolicyException
values
- value to set.
javax.xml.registry.JAXRException
PolicyException
java.lang.String getType() throws javax.xml.registry.JAXRException, PolicyException
javax.xml.registry.JAXRException
PolicyException
boolean isArray() throws javax.xml.registry.JAXRException, PolicyException
javax.xml.registry.JAXRException
PolicyException
boolean isRoType() throws javax.xml.registry.JAXRException, PolicyException
javax.xml.registry.JAXRException
PolicyException
PolicyParameter getParameter(java.lang.String name) throws javax.xml.registry.JAXRException, PolicyException
name
- Name to be matched.
javax.xml.registry.JAXRException
PolicyException
java.util.List<PolicyParameter> getParameters(java.lang.String name) throws javax.xml.registry.JAXRException, PolicyException
name
- name of the child parameter
javax.xml.registry.JAXRException
PolicyException
void addParameter(PolicyParameter childParameter)
childParameter
- child parameter to be added to the existing list of parametersvoid addParameters(java.util.List<PolicyParameter> parameters)
parameters
- list of child parameters to be added to the existing list of parametersPolicyParameter addParameter(PolicyActionParameter policyActionParameter, java.lang.String value) throws javax.xml.registry.JAXRException, PolicyException
policyActionParameter
- PolicyActionParameter for which the value needs to be added.value
- Value for the PolicyParameter.
javax.xml.registry.JAXRException
PolicyException
PolicyParameter addParameter(PolicyActionParameter policyActionParameter, java.net.URL value) throws javax.xml.registry.JAXRException, PolicyException
policyActionParameter
- PolicyActionParameter for which the value needs to be added.value
- Value for the PolicyParameter.
javax.xml.registry.JAXRException
PolicyException
PolicyParameter addParameter(PolicyActionParameter policyActionParameter, boolean value) throws javax.xml.registry.JAXRException, PolicyException
policyActionParameter
- PolicyActionParameter for which the value needs to be added.value
- Value for the PolicyParameter.
javax.xml.registry.JAXRException
PolicyException
PolicyParameter addParameter(PolicyActionParameter policyActionParameter, java.util.Date value) throws javax.xml.registry.JAXRException, PolicyException
policyActionParameter
- PolicyActionParameter for which the value needs to be added.value
- Value for the PolicyParameter.
javax.xml.registry.JAXRException
PolicyException
PolicyParameter addParameter(PolicyActionParameter policyActionParameter, double value) throws javax.xml.registry.JAXRException, PolicyException
policyActionParameter
- PolicyActionParameter for which the value needs to be added.value
- Value for the PolicyParameter.
javax.xml.registry.JAXRException
PolicyException
PolicyParameter addParameter(PolicyActionParameter policyActionParameter, com.centrasite.jaxr.infomodel.CentraSiteRegistryObject registryObject) throws javax.xml.registry.JAXRException, PolicyException
policyActionParameter
- PolicyActionParameter for which the value needs to be added.registryObject
- Value for the PolicyParameter.
javax.xml.registry.JAXRException
PolicyException
PolicyParameter addParameter(PolicyActionParameter policyActionParameter, java.util.Collection values) throws javax.xml.registry.JAXRException, PolicyException
policyActionParameter
- PolicyActionParameter for which the value needs to be added.values
- Value for the PolicyParameter.
javax.xml.registry.JAXRException
PolicyException
void removeParameter(PolicyParameter policyParameter) throws javax.xml.registry.JAXRException
policyParameter
- PolicyParameter to be removed.
javax.xml.registry.JAXRException
void removeParameterByName(java.lang.String policyParameterName) throws javax.xml.registry.JAXRException, PolicyException
policyParameterName
- PolicyParameter to be removed.
javax.xml.registry.JAXRException
PolicyException
void validate() throws javax.xml.registry.JAXRException, PolicyException
javax.xml.registry.JAXRException
PolicyException
- If the mandatory parameter doesnot have required values
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |