public class AdminParameterModel extends java.lang.Object implements XMLMarshallable
Java class represents a system parameter in the connected SAP CC system.
Consider the available service operations.
Consider the following service operations dedicated to the administration of SAP CC system parameters:
Consult the SAP CC System Parameter Reference documentation for more information about the system parameters and indicators of SAP Convergent Charging.
GetParametersOp,
GetParameterValueOp,
SetParameterValueOp,
ResetParameterValueOpThe 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>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
HIDDEN_VALUE
Constant for a hidden value representation on network
|
static java.lang.String |
PARAMETER_MODEL
The XML tag name of this data model: adminParameter
|
static java.lang.String |
UNKNOWN_VALUE
Constant for an unknown value representation on network
|
static java.lang.String |
UNSET_VALUE
Constant for an unset value representation on network
|
| Constructor and Description |
|---|
AdminParameterModel()
Default constructor needed for unmarshalling.
|
AdminParameterModel(com.highdeal.parameter.Parameter parameter,
java.lang.Object target,
boolean persistent,
boolean useDefinitionOnly)
AdminParameterModel constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addCharacterData(java.lang.String cData)
Adds string data to this model.
|
void |
addChild(java.lang.String tagName,
XMLMarshallable child)
Adds a child tag to this operation.
|
java.lang.String |
getDefaultValue()
Returns the parameter default value.
|
java.lang.String |
getDescription()
Returns the comprehensive description of the SAP CC system parameter.
|
java.lang.String |
getInitValue()
Returns the initialization value of this parameter.
|
java.lang.String |
getName()
Returns the parameter name.
|
com.highdeal.parameter.Source |
getSource()
Returns the source of this parameter.
|
java.lang.String |
getTarget()
Gets the corresponding target.
|
java.lang.String |
getType()
Returns the type of this parameter.
|
java.lang.String |
getValue()
Returns the parameter value.
|
boolean |
isModifiable()
Is parameter modifiable?
|
boolean |
isOptional()
Is parameter optional?
|
boolean |
isPersistent()
Is parameter persistent?
|
void |
marshal(XMLOutputter output)
Writes the operation XML data to the specified output.
|
void |
setAttributes(XMLAttributes atts)
Sets the operation attributes from the
XMLAttributes. |
void |
setDefaultValue(java.lang.String defaultValue)
Sets the parameter default value.
|
void |
setDescription(java.lang.String description)
Sets the parameter description.
|
void |
setInitValue(java.lang.String initValue)
Sets the initialization value of this parameter.
|
void |
setModifiable(boolean isModifiable)
Sets the modifiable state of the parameter.
|
void |
setName(java.lang.String name)
Set the parameter name.
|
void |
setOptional(boolean optional)
Sets the optional state of the parameter.
|
void |
setPersistent(boolean persistent)
Sets the persistent state of the parameter.
|
void |
setSource(com.highdeal.parameter.Source source)
Sets the source of this parameter.
|
void |
setTarget(java.lang.String target)
Sets the corresponding target.
|
void |
setType(java.lang.String type)
Sets the type of this parameter.
|
void |
setValue(java.lang.String value)
Sets the parameter value.
|
public static final java.lang.String PARAMETER_MODEL
public static final java.lang.String UNSET_VALUE
public static final java.lang.String UNKNOWN_VALUE
public static final java.lang.String HIDDEN_VALUE
public AdminParameterModel()
public AdminParameterModel(com.highdeal.parameter.Parameter parameter,
java.lang.Object target,
boolean persistent,
boolean useDefinitionOnly)
parameter - The parameter to represent over the networktarget - The parameter defined targetpersistent - If the parameter represents a persistent valueuseDefinitionOnly - Only marshall definition propertiespublic void setName(java.lang.String name)
name - The parameter namepublic java.lang.String getName()
public void setDescription(java.lang.String description)
description - The parameter descriptionpublic java.lang.String getDescription()
public void setValue(java.lang.String value)
value - The parameter value to setpublic java.lang.String getValue()
public void setDefaultValue(java.lang.String defaultValue)
defaultValue - The default value of parameterpublic java.lang.String getDefaultValue()
public java.lang.String getInitValue()
public void setInitValue(java.lang.String initValue)
initValue - The initial value of the parameter to setpublic void setModifiable(boolean isModifiable)
isModifiable - The modifiable state of the parameterpublic boolean isModifiable()
true if the parameter is modifiable, false otherwisepublic void setOptional(boolean optional)
optional - The optional state of the parameterpublic boolean isOptional()
true if the parameter is optional, false otherwisepublic java.lang.String getTarget()
public void setTarget(java.lang.String target)
target - The target to setpublic void setPersistent(boolean persistent)
persistent - The persistent state of the parameterpublic boolean isPersistent()
true if the parameter is persistent, false otherwisepublic com.highdeal.parameter.Source getSource()
public void setSource(com.highdeal.parameter.Source source)
source - The source of parameter to setpublic java.lang.String getType()
public void setType(java.lang.String type)
type - The type of parameter to setpublic void setAttributes(XMLAttributes atts)
XMLAttributes.setAttributes in interface XMLMarshallableatts - The XMLAttributes containing the datapublic void addChild(java.lang.String tagName,
XMLMarshallable child)
This tag is ignored for this model.
addChild in interface XMLMarshallabletagName - The name of the tagchild - The XMLMarshallable child to addpublic void addCharacterData(java.lang.String cData)
This data is ignored for this model.
addCharacterData in interface XMLMarshallablecData - The character data to add to the operationpublic void marshal(XMLOutputter output)
marshal in interface XMLMarshallableoutput - The XMLOutputter to write into