Package com.highdeal.pnr.hci
Class CreateSubscriberAccountResult
java.lang.Object
com.highdeal.pnr.hci.CreateSubscriberAccountResult
- All Implemented Interfaces:
OperationResult,XMLMarshallable
This class represents the result of the
Create Subscriber Account operation.
Use getCode() or
getReference() or
getServiceProvider() or
getSubscriber()
for getting results.
Operation Request
CreateSubscriberAccountOp XML API for HCI
The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="createSubscriberAccountResult">
<xs:complexType>
<xs:attribute name="reference" type="xs:string" use="required"/>
<xs:attribute name="code" type="xs:string" use="required"/>
<xs:attribute name="serviceProvider" type="xs:string" use="required"/>
<xs:attribute name="subscriber" type="xs:string" use="required"/>
</xs:complexType>
</xs:element>
-
Constructor Summary
ConstructorsConstructorDescriptionBuilds an empty create subscriber account result. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCharacterData(String cData) Adds character data to the content element.voidaddChild(String tagName, XMLMarshallable child) Adds a child to the object, thechildrepresenting the marshallable object which must be added to the element.getCode()Gets the code of the create subscriber account result.Gets the code or the reference (if no code exists) that identifies the operand of the operation request; If the operation is not auditable, the operand reference isnull.Gets the reference of the create subscriber account result.Gets the serviceProvider of the create subscriber account result.Gets the subscriber of the create subscriber account result.voidmarshal(XMLOutputter output) Gives an XML representation of this object, including its children.voidsetAttributes(XMLAttributes atts) Sets the attributes of the XML representation of the element being processed.voidSets the code of the create subscriber account result.voidsetReference(String reference) Sets the reference of the create subscriber account result.voidsetServiceProvider(String serviceProvider) Sets the service provider of the create subscriber account result.voidsetSubscriber(String subscriber) Sets the subscriber of the create subscriber account result.
-
Constructor Details
-
CreateSubscriberAccountResult
public CreateSubscriberAccountResult()Builds an empty create subscriber account result.
-
-
Method Details
-
getCode
Gets the code of the create subscriber account result.- Returns:
- The code of the create subscriber account result
-
setCode
Sets the code of the create subscriber account result.- Parameters:
code- The code of the create subscriber account result
-
getReference
Gets the reference of the create subscriber account result.- Returns:
- The reference of the create subscriber account result
-
setReference
Sets the reference of the create subscriber account result.- Parameters:
reference- The reference of the create subscriber account result
-
getServiceProvider
Gets the serviceProvider of the create subscriber account result.- Returns:
- The serviceProvider of the create subscriber account result
-
setServiceProvider
Sets the service provider of the create subscriber account result.- Parameters:
serviceProvider- The service provider of the create subscriber account result
-
getSubscriber
Gets the subscriber of the create subscriber account result.- Returns:
- The subscriber of the create subscriber account result
-
setSubscriber
Sets the subscriber of the create subscriber account result.- Parameters:
subscriber- The subscriber of the create subscriber account result
-
getOperandReference
Description copied from interface:OperationResultGets the code or the reference (if no code exists) that identifies the operand of the operation request; If the operation is not auditable, the operand reference isnull.- Specified by:
getOperandReferencein interfaceOperationResult- Returns:
- The operand reference of the operation result
-
setAttributes
Description copied from interface:XMLMarshallableSets the attributes of the XML representation of the element being processed.- Specified by:
setAttributesin interfaceXMLMarshallable- Parameters:
atts- TheXML attributesof the current element
-
addCharacterData
Description copied from interface:XMLMarshallableAdds character data to the content element.- Specified by:
addCharacterDatain interfaceXMLMarshallable- Parameters:
cData- The character data to be added
-
addChild
Description copied from interface:XMLMarshallableAdds a child to the object, thechildrepresenting the marshallable object which must be added to the element.- Specified by:
addChildin interfaceXMLMarshallable- Parameters:
tagName- The name of tag for the childchild- The child to be added
-
marshal
Description copied from interface:XMLMarshallableGives an XML representation of this object, including its children.- Specified by:
marshalin interfaceXMLMarshallable- Parameters:
output- TheXML outputto marshal the object into
-