Package com.highdeal.admin.hci
Class AdminParameterModel
java.lang.Object
com.highdeal.admin.hci.AdminParameterModel
- All Implemented Interfaces:
XMLMarshallable
The
Java class represents a system parameter in the connected SAP CC system.
Implementation in Your Client Application
Consider the available service operations.
Related Operation Requests
Consider the following service operations dedicated to the administration of SAP CC system parameters:
Additional Information
Consult the SAP CC System Parameter Reference documentation for more information about the system parameters and indicators of SAP Convergent Charging.
- See Also:
XML API for HCI
The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="adminParameter">
<xs:complexType>
<xs:attribute name="name" type="xs:string" use="required"/>
<xs:attribute name="description" type="xs:string"/>
<xs:attribute name="optional" type="xs:boolean" default="false" />
<xs:attribute name="defaultValue" type="xs:string" use="required"/>
<xs:attribute name="initValue" type="xs:string"/>
<xs:attribute name="value" type="xs:string"/>
<xs:attribute name="modifiable" type="xs:boolean" default="false"/>
<xs:attribute name="target" type="xs:string" use="required"/>
<xs:attribute name="persistent" type="xs:boolean" default="false"/>
<xs:attribute name="source" use="required">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="file"/>
<xs:enumeration value="database"/>
<xs:enumeration value="instanceMap"/>
<xs:enumeration value="indicator"/>
<xs:enumeration value="system"/>
<xs:enumeration value="xmlGenerated"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="type" type="xs:string" use="required"/>
</xs:complexType>
</xs:element>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringConstant for a hidden value representation on networkstatic final StringThe XML tag name of this data model: adminParameterstatic final StringConstant for an unknown value representation on networkstatic final StringConstant for an unset value representation on network -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor needed for unmarshalling.AdminParameterModel(com.highdeal.parameter.Parameter parameter, Object target, boolean persistent, boolean useDefinitionOnly) AdminParameterModel constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCharacterData(String cData) Adds string data to this model.voidaddChild(String tagName, XMLMarshallable child) Adds a child tag to this operation.Returns the parameter default value.Returns the comprehensive description of the SAP CC system parameter.Returns the initialization value of this parameter.getName()Returns the parameter name.com.highdeal.parameter.SourceReturns the source of this parameter.Gets the corresponding target.getType()Returns the type of this parameter.getValue()Returns the parameter value.booleanIs parameter modifiable?booleanIs parameter optional?booleanIs parameter persistent?voidmarshal(XMLOutputter output) Writes the operation XML data to the specified output.voidsetAttributes(XMLAttributes atts) Sets the operation attributes from theXMLAttributes.voidsetDefaultValue(String defaultValue) Sets the parameter default value.voidsetDescription(String description) Sets the parameter description.voidsetInitValue(String initValue) Sets the initialization value of this parameter.voidsetModifiable(boolean isModifiable) Sets the modifiable state of the parameter.voidSet the parameter name.voidsetOptional(boolean optional) Sets the optional state of the parameter.voidsetPersistent(boolean persistent) Sets the persistent state of the parameter.voidsetSource(com.highdeal.parameter.Source source) Sets the source of this parameter.voidSets the corresponding target.voidSets the type of this parameter.voidSets the parameter value.
-
Field Details
-
PARAMETER_MODEL
The XML tag name of this data model: adminParameter- See Also:
-
UNSET_VALUE
Constant for an unset value representation on network- See Also:
-
UNKNOWN_VALUE
Constant for an unknown value representation on network- See Also:
-
HIDDEN_VALUE
Constant for a hidden value representation on network- See Also:
-
-
Constructor Details
-
AdminParameterModel
public AdminParameterModel()Default constructor needed for unmarshalling. -
AdminParameterModel
public AdminParameterModel(com.highdeal.parameter.Parameter parameter, Object target, boolean persistent, boolean useDefinitionOnly) AdminParameterModel constructor.- Parameters:
parameter- The parameter to represent over the networktarget- The parameter defined targetpersistent- If the parameter represents a persistent valueuseDefinitionOnly- Only marshall definition properties
-
-
Method Details
-
setName
Set the parameter name.- Parameters:
name- The parameter name
-
getName
Returns the parameter name.- Returns:
- The parameter name
-
setDescription
Sets the parameter description.- Parameters:
description- The parameter description
-
getDescription
Returns the comprehensive description of the SAP CC system parameter.- Returns:
- The parameter description
-
setValue
Sets the parameter value.- Parameters:
value- The parameter value to set
-
getValue
Returns the parameter value.- Returns:
- The parameter value
-
setDefaultValue
Sets the parameter default value.- Parameters:
defaultValue- The default value of parameter
-
getDefaultValue
Returns the parameter default value.- Returns:
- The parameter default value
-
getInitValue
Returns the initialization value of this parameter.- Returns:
- The initial value of the parameter as string
-
setInitValue
Sets the initialization value of this parameter.- Parameters:
initValue- The initial value of the parameter to set
-
setModifiable
public void setModifiable(boolean isModifiable) Sets the modifiable state of the parameter.- Parameters:
isModifiable- The modifiable state of the parameter
-
isModifiable
public boolean isModifiable()Is parameter modifiable?- Returns:
trueif the parameter is modifiable,falseotherwise
-
setOptional
public void setOptional(boolean optional) Sets the optional state of the parameter.- Parameters:
optional- The optional state of the parameter
-
isOptional
public boolean isOptional()Is parameter optional?- Returns:
trueif the parameter is optional,falseotherwise
-
getTarget
Gets the corresponding target.- Returns:
- The target
-
setTarget
Sets the corresponding target.- Parameters:
target- The target to set
-
setPersistent
public void setPersistent(boolean persistent) Sets the persistent state of the parameter.- Parameters:
persistent- The persistent state of the parameter
-
isPersistent
public boolean isPersistent()Is parameter persistent?- Returns:
trueif the parameter is persistent,falseotherwise
-
getSource
public com.highdeal.parameter.Source getSource()Returns the source of this parameter.- Returns:
- The source of parameter as string
-
setSource
public void setSource(com.highdeal.parameter.Source source) Sets the source of this parameter.- Parameters:
source- The source of parameter to set
-
getType
Returns the type of this parameter.- Returns:
- The type of parameter as string
-
setType
Sets the type of this parameter.- Parameters:
type- The type of parameter to set
-
setAttributes
Sets the operation attributes from theXMLAttributes.- Specified by:
setAttributesin interfaceXMLMarshallable- Parameters:
atts- TheXMLAttributescontaining the data
-
addChild
Adds a child tag to this operation.This tag is ignored for this model.
- Specified by:
addChildin interfaceXMLMarshallable- Parameters:
tagName- The name of the tagchild- TheXMLMarshallablechild to add
-
addCharacterData
Adds string data to this model.This data is ignored for this model.
- Specified by:
addCharacterDatain interfaceXMLMarshallable- Parameters:
cData- The character data to add to the operation
-
marshal
Writes the operation XML data to the specified output.- Specified by:
marshalin interfaceXMLMarshallable- Parameters:
output- TheXMLOutputterto write into
-