Sun Adapter for SAG API

com.stc.connector.sagadapter.primitive.sw
Class Sw_FileStatusDetails

java.lang.Object
  extended by com.stc.connector.sagadapter.primitive.sw.Sw_FileStatusDetails
All Implemented Interfaces:
com.stc.otd.runtime.OtdAsWSDLDocument, com.stc.otd.runtime.OtdNode, com.stc.otd.runtime.OtdRoot, com.stc.otd.runtime.OtdRoot2

public class Sw_FileStatusDetails
extends java.lang.Object
implements com.stc.otd.runtime.OtdRoot2, com.stc.otd.runtime.OtdAsWSDLDocument


Constructor Summary
Sw_FileStatusDetails()
           
Sw_FileStatusDetails(com.stc.otd.runtime.OtdMeta mObj)
           
 
Method Summary
 java.lang.String[] check()
          DOCUMENT ME!
 int choice()
          For a choice node, returns the index of the valid child.
 int count(int child)
          Returns the number of repetition instances of the given child.
 java.lang.Object get(int child)
           
 java.lang.Object get(int child, int index)
           
 java.lang.String getSw_AckDescription()
           
 java.lang.String getSw_AckInfo()
           
 Sw_AckServerInfo getSw_AckServerInfo()
           
 java.lang.String getSw_DeliveryStatus()
           
 java.lang.String getSw_DeliveryTime()
           
 Sw_Digest getSw_Digest()
           
 java.lang.String getSw_FileDescription()
           
 java.lang.String getSw_FileInfo()
           
 java.lang.String getSw_OrigTransferRef()
           
 java.lang.String getSw_PossibleDuplicate()
           
 java.lang.String getSw_SignIndicator()
           
 Sw_SnFOutputInfo getSw_SnFOutputInfo()
           
 java.lang.String getSw_SwiftTime()
           
 java.lang.String getSw_TransferDescription()
           
 java.lang.String getSw_TransferInfo()
           
 SwInt_NonRep getSwInt_NonRep()
           
 java.lang.String getSwInt_NotifQueue()
           
 java.lang.String getSwInt_NRIndicator()
           
 java.lang.String getSwSec_SignDN()
           
 java.lang.String getSwSec_UserDN()
           
 boolean has(int child)
          Tests whether given child is present.
 boolean has(int child, int index)
          Tests whether given instance of a repeated child is present.
 boolean hasSw_AckDescription()
           
 boolean hasSw_AckInfo()
           
 boolean hasSw_AckServerInfo()
           
 boolean hasSw_DeliveryStatus()
           
 boolean hasSw_DeliveryTime()
           
 boolean hasSw_Digest()
           
 boolean hasSw_FileDescription()
           
 boolean hasSw_FileInfo()
           
 boolean hasSw_OrigTransferRef()
           
 boolean hasSw_SignIndicator()
           
 boolean hasSw_SnFOutputInfo()
           
 boolean hasSw_SwiftTime()
           
 boolean hasSw_TransferDescription()
           
 boolean hasSw_TransferInfo()
           
 boolean hasSwInt_NonRep()
           
 boolean hasSwInt_NotifQueue()
           
 boolean hasSwInt_NRIndicator()
           
 boolean hasSwSec_SignDN()
           
 boolean hasSwSec_UserDN()
           
 void includeXmlDeclaration(boolean val)
          Set includeXmlDecl flag.
 void init0()
           
static void main(java.lang.String[] args)
           
 void marshal(org.xml.sax.ContentHandler handler, org.xml.sax.ErrorHandler errorHandler, boolean rtMarshal)
           
 void marshal(com.stc.otd.runtime.OtdOutputStream out)
          Marshals the data content of an OTD into a BLOB.
 void marshalDoctype(java.lang.String decl)
          Adds a DOCTYPE declaration to the marshalled document.
 void marshalProlog(java.lang.String target, java.lang.String data)
          Adds a prolog processing instruction to the marshalled document.
 byte[] marshalToBytes()
          Marshals the data content of an OTD into a byte array.
 java.lang.String marshalToString()
          Marshals the data content of an OTD into a string.
 com.stc.otd.runtime.OtdMeta meta()
           
 void remove(int child)
          Removes the given child instance.
 void remove(int child, int index)
          Removes the given occurrence of a child instance.
 void reset()
          Clear cached data.
 void set(int child, int index, java.lang.Object value)
          Stores the given child instance.
 void set(int child, java.lang.Object value)
           
 void setSw_AckDescription(java.lang.String value)
           
 void setSw_AckInfo(java.lang.String value)
           
 void setSw_AckServerInfo(Sw_AckServerInfo value)
           
 void setSw_DeliveryStatus(java.lang.String value)
           
 void setSw_DeliveryTime(java.lang.String value)
           
 void setSw_Digest(Sw_Digest value)
           
 void setSw_FileDescription(java.lang.String value)
           
 void setSw_FileInfo(java.lang.String value)
           
 void setSw_OrigTransferRef(java.lang.String value)
           
 void setSw_PossibleDuplicate(java.lang.String value)
           
 void setSw_SignIndicator(java.lang.String value)
           
 void setSw_SnFOutputInfo(Sw_SnFOutputInfo value)
           
 void setSw_SwiftTime(java.lang.String value)
           
 void setSw_TransferDescription(java.lang.String value)
           
 void setSw_TransferInfo(java.lang.String value)
           
 void setSwInt_NonRep(SwInt_NonRep value)
           
 void setSwInt_NotifQueue(java.lang.String value)
           
 void setSwInt_NRIndicator(java.lang.String value)
           
 void setSwSec_SignDN(java.lang.String value)
           
 void setSwSec_UserDN(java.lang.String value)
           
 int size(int child)
          Returns one past the last valid index for a repeating child.
 java.lang.String toString()
           
 void unmarshal(org.xml.sax.InputSource inputSource, com.stc.otd.tools.xml.SAXLexer lexer)
           
 void unmarshal(com.stc.otd.runtime.OtdInputStream in)
          Unmarshals a BLOB into the data content of an OTD.
 void unmarshalFromBytes(byte[] in)
          Unmarshals a byte array into the data content of an OTD.
 void unmarshalFromString(java.lang.String in)
          Unmarshals a string into the data content of an OTD.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Sw_FileStatusDetails

public Sw_FileStatusDetails(com.stc.otd.runtime.OtdMeta mObj)

Sw_FileStatusDetails

public Sw_FileStatusDetails()
Method Detail

init0

public void init0()

meta

public com.stc.otd.runtime.OtdMeta meta()
Specified by:
meta in interface com.stc.otd.runtime.OtdNode

hasSw_SwiftTime

public boolean hasSw_SwiftTime()
                        throws java.lang.IndexOutOfBoundsException
Throws:
java.lang.IndexOutOfBoundsException

getSw_SwiftTime

public java.lang.String getSw_SwiftTime()

setSw_SwiftTime

public void setSw_SwiftTime(java.lang.String value)

hasSwSec_UserDN

public boolean hasSwSec_UserDN()
                        throws java.lang.IndexOutOfBoundsException
Throws:
java.lang.IndexOutOfBoundsException

getSwSec_UserDN

public java.lang.String getSwSec_UserDN()

setSwSec_UserDN

public void setSwSec_UserDN(java.lang.String value)

hasSw_TransferDescription

public boolean hasSw_TransferDescription()
                                  throws java.lang.IndexOutOfBoundsException
Throws:
java.lang.IndexOutOfBoundsException

getSw_TransferDescription

public java.lang.String getSw_TransferDescription()

setSw_TransferDescription

public void setSw_TransferDescription(java.lang.String value)

hasSw_TransferInfo

public boolean hasSw_TransferInfo()
                           throws java.lang.IndexOutOfBoundsException
Throws:
java.lang.IndexOutOfBoundsException

getSw_TransferInfo

public java.lang.String getSw_TransferInfo()

setSw_TransferInfo

public void setSw_TransferInfo(java.lang.String value)

hasSw_FileDescription

public boolean hasSw_FileDescription()
                              throws java.lang.IndexOutOfBoundsException
Throws:
java.lang.IndexOutOfBoundsException

getSw_FileDescription

public java.lang.String getSw_FileDescription()

setSw_FileDescription

public void setSw_FileDescription(java.lang.String value)

hasSw_FileInfo

public boolean hasSw_FileInfo()
                       throws java.lang.IndexOutOfBoundsException
Throws:
java.lang.IndexOutOfBoundsException

getSw_FileInfo

public java.lang.String getSw_FileInfo()

setSw_FileInfo

public void setSw_FileInfo(java.lang.String value)

hasSw_Digest

public boolean hasSw_Digest()
                     throws java.lang.IndexOutOfBoundsException
Throws:
java.lang.IndexOutOfBoundsException

getSw_Digest

public Sw_Digest getSw_Digest()

setSw_Digest

public void setSw_Digest(Sw_Digest value)

getSw_PossibleDuplicate

public java.lang.String getSw_PossibleDuplicate()

setSw_PossibleDuplicate

public void setSw_PossibleDuplicate(java.lang.String value)

hasSw_OrigTransferRef

public boolean hasSw_OrigTransferRef()
                              throws java.lang.IndexOutOfBoundsException
Throws:
java.lang.IndexOutOfBoundsException

getSw_OrigTransferRef

public java.lang.String getSw_OrigTransferRef()

setSw_OrigTransferRef

public void setSw_OrigTransferRef(java.lang.String value)

hasSw_SnFOutputInfo

public boolean hasSw_SnFOutputInfo()
                            throws java.lang.IndexOutOfBoundsException
Throws:
java.lang.IndexOutOfBoundsException

getSw_SnFOutputInfo

public Sw_SnFOutputInfo getSw_SnFOutputInfo()

setSw_SnFOutputInfo

public void setSw_SnFOutputInfo(Sw_SnFOutputInfo value)

hasSw_SignIndicator

public boolean hasSw_SignIndicator()
                            throws java.lang.IndexOutOfBoundsException
Throws:
java.lang.IndexOutOfBoundsException

getSw_SignIndicator

public java.lang.String getSw_SignIndicator()

setSw_SignIndicator

public void setSw_SignIndicator(java.lang.String value)

hasSwSec_SignDN

public boolean hasSwSec_SignDN()
                        throws java.lang.IndexOutOfBoundsException
Throws:
java.lang.IndexOutOfBoundsException

getSwSec_SignDN

public java.lang.String getSwSec_SignDN()

setSwSec_SignDN

public void setSwSec_SignDN(java.lang.String value)

hasSwInt_NRIndicator

public boolean hasSwInt_NRIndicator()
                             throws java.lang.IndexOutOfBoundsException
Throws:
java.lang.IndexOutOfBoundsException

getSwInt_NRIndicator

public java.lang.String getSwInt_NRIndicator()

setSwInt_NRIndicator

public void setSwInt_NRIndicator(java.lang.String value)

hasSwInt_NonRep

public boolean hasSwInt_NonRep()
                        throws java.lang.IndexOutOfBoundsException
Throws:
java.lang.IndexOutOfBoundsException

getSwInt_NonRep

public SwInt_NonRep getSwInt_NonRep()

setSwInt_NonRep

public void setSwInt_NonRep(SwInt_NonRep value)

hasSw_AckServerInfo

public boolean hasSw_AckServerInfo()
                            throws java.lang.IndexOutOfBoundsException
Throws:
java.lang.IndexOutOfBoundsException

getSw_AckServerInfo

public Sw_AckServerInfo getSw_AckServerInfo()

setSw_AckServerInfo

public void setSw_AckServerInfo(Sw_AckServerInfo value)

hasSwInt_NotifQueue

public boolean hasSwInt_NotifQueue()
                            throws java.lang.IndexOutOfBoundsException
Throws:
java.lang.IndexOutOfBoundsException

getSwInt_NotifQueue

public java.lang.String getSwInt_NotifQueue()

setSwInt_NotifQueue

public void setSwInt_NotifQueue(java.lang.String value)

hasSw_DeliveryStatus

public boolean hasSw_DeliveryStatus()
                             throws java.lang.IndexOutOfBoundsException
Throws:
java.lang.IndexOutOfBoundsException

getSw_DeliveryStatus

public java.lang.String getSw_DeliveryStatus()

setSw_DeliveryStatus

public void setSw_DeliveryStatus(java.lang.String value)

hasSw_DeliveryTime

public boolean hasSw_DeliveryTime()
                           throws java.lang.IndexOutOfBoundsException
Throws:
java.lang.IndexOutOfBoundsException

getSw_DeliveryTime

public java.lang.String getSw_DeliveryTime()

setSw_DeliveryTime

public void setSw_DeliveryTime(java.lang.String value)

hasSw_AckDescription

public boolean hasSw_AckDescription()
                             throws java.lang.IndexOutOfBoundsException
Throws:
java.lang.IndexOutOfBoundsException

getSw_AckDescription

public java.lang.String getSw_AckDescription()

setSw_AckDescription

public void setSw_AckDescription(java.lang.String value)

hasSw_AckInfo

public boolean hasSw_AckInfo()
                      throws java.lang.IndexOutOfBoundsException
Throws:
java.lang.IndexOutOfBoundsException

getSw_AckInfo

public java.lang.String getSw_AckInfo()

setSw_AckInfo

public void setSw_AckInfo(java.lang.String value)

get

public java.lang.Object get(int child)
                     throws java.lang.IndexOutOfBoundsException
Specified by:
get in interface com.stc.otd.runtime.OtdNode
Throws:
java.lang.IndexOutOfBoundsException

get

public java.lang.Object get(int child,
                            int index)
                     throws java.lang.IndexOutOfBoundsException
Specified by:
get in interface com.stc.otd.runtime.OtdNode
Throws:
java.lang.IndexOutOfBoundsException

set

public void set(int child,
                java.lang.Object value)
         throws java.lang.IndexOutOfBoundsException,
                java.lang.IllegalArgumentException
Specified by:
set in interface com.stc.otd.runtime.OtdNode
Throws:
java.lang.IndexOutOfBoundsException
java.lang.IllegalArgumentException

set

public void set(int child,
                int index,
                java.lang.Object value)
         throws java.lang.IndexOutOfBoundsException,
                java.lang.IllegalArgumentException
Stores the given child instance.

Specified by:
set in interface com.stc.otd.runtime.OtdNode
Parameters:
child - index of child below this parent
index - index of child instance in repetition
value - the new child value
Throws:
java.lang.IndexOutOfBoundsException - for invalid index or child
java.lang.IllegalArgumentException - for a type or value error

has

public boolean has(int child)
            throws java.lang.IndexOutOfBoundsException
Tests whether given child is present. For repeated children, tests against collection as a whole.

Specified by:
has in interface com.stc.otd.runtime.OtdNode
Parameters:
child - index of child below this parent
Throws:
java.lang.IndexOutOfBoundsException - for invalid child

has

public boolean has(int child,
                   int index)
            throws java.lang.IndexOutOfBoundsException
Tests whether given instance of a repeated child is present.

Specified by:
has in interface com.stc.otd.runtime.OtdNode
Parameters:
child - index of child below this parent
index - index of child instance in repetition, from 0
Throws:
java.lang.IndexOutOfBoundsException - for invalid index or child

count

public int count(int child)
Returns the number of repetition instances of the given child. For a non-repeating node, this should return 1.

Specified by:
count in interface com.stc.otd.runtime.OtdNode
Parameters:
child - index of child below this parent
Returns:
the repetition index
Throws:
java.lang.IndexOutOfBoundsException - for invalid child

size

public int size(int child)
Returns one past the last valid index for a repeating child. For a non-repeating node, this should return 1.

Specified by:
size in interface com.stc.otd.runtime.OtdNode
Parameters:
child - index of child below this parent
Returns:
the repetition index
Throws:
java.lang.IndexOutOfBoundsException - for invalid child

choice

public int choice()
For a choice node, returns the index of the valid child.

Specified by:
choice in interface com.stc.otd.runtime.OtdNode
Returns:
-1

remove

public void remove(int child)
Removes the given child instance. The child must be optional.

Specified by:
remove in interface com.stc.otd.runtime.OtdNode
Parameters:
child - index of child below this parent, from 0
Throws:
java.lang.IndexOutOfBoundsException - for invalid or mandatory child

remove

public void remove(int child,
                   int index)
Removes the given occurrence of a child instance. The child must be repeated. The implementation is allowed (but not required) to throw an exception if the child is absent. A subsequent has(child, index) call with the same arguments should return false.

Specified by:
remove in interface com.stc.otd.runtime.OtdNode
Parameters:
child - index of child below this parent, from 0
index - index of child instance in repetition, from 0
Throws:
java.lang.IndexOutOfBoundsException - for invalid or non-repeating child

unmarshal

public void unmarshal(org.xml.sax.InputSource inputSource,
                      com.stc.otd.tools.xml.SAXLexer lexer)
               throws org.xml.sax.SAXException,
                      com.stc.otd.runtime.UnmarshalException
Throws:
org.xml.sax.SAXException
com.stc.otd.runtime.UnmarshalException

marshal

public void marshal(org.xml.sax.ContentHandler handler,
                    org.xml.sax.ErrorHandler errorHandler,
                    boolean rtMarshal)
             throws com.stc.otd.runtime.MarshalException,
                    org.xml.sax.SAXException
Throws:
com.stc.otd.runtime.MarshalException
org.xml.sax.SAXException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

reset

public void reset()
Clear cached data.

Specified by:
reset in interface com.stc.otd.runtime.OtdRoot

check

public java.lang.String[] check()
DOCUMENT ME!

Specified by:
check in interface com.stc.otd.runtime.OtdRoot
Returns:
DOCUMENT ME!

includeXmlDeclaration

public void includeXmlDeclaration(boolean val)
Set includeXmlDecl flag.

Parameters:
val - DOCUMENT ME!

marshalToString

public java.lang.String marshalToString()
                                 throws com.stc.otd.runtime.MarshalException,
                                        java.io.IOException
Marshals the data content of an OTD into a string.

Specified by:
marshalToString in interface com.stc.otd.runtime.OtdRoot2
Parameters:
out - the string
Throws:
com.stc.otd.runtime.MarshalException - if the output cannot be produced
java.io.IOException

marshalToBytes

public byte[] marshalToBytes()
                      throws com.stc.otd.runtime.MarshalException,
                             java.io.IOException
Marshals the data content of an OTD into a byte array.

Specified by:
marshalToBytes in interface com.stc.otd.runtime.OtdRoot2
Parameters:
out - the byte array
Throws:
com.stc.otd.runtime.MarshalException - if the output cannot be produced
java.io.IOException

marshal

public void marshal(com.stc.otd.runtime.OtdOutputStream out)
             throws com.stc.otd.runtime.MarshalException
Marshals the data content of an OTD into a BLOB.

Specified by:
marshal in interface com.stc.otd.runtime.OtdRoot
Parameters:
out - DOCUMENT ME!
Throws:
com.stc.otd.runtime.MarshalException - Thrown when unable to marshal OTD.

marshalDoctype

public void marshalDoctype(java.lang.String decl)
Adds a DOCTYPE declaration to the marshalled document.

Parameters:
decl - DOCUMENT ME!

marshalProlog

public void marshalProlog(java.lang.String target,
                          java.lang.String data)
Adds a prolog processing instruction to the marshalled document.

Parameters:
target - DOCUMENT ME!
data - DOCUMENT ME!

unmarshalFromString

public void unmarshalFromString(java.lang.String in)
                         throws com.stc.otd.runtime.UnmarshalException
Unmarshals a string into the data content of an OTD.

Specified by:
unmarshalFromString in interface com.stc.otd.runtime.OtdRoot2
Parameters:
in - string be unmarshalled
Throws:
com.stc.otd.runtime.UnmarshalException - if input data cannot be parsed

unmarshalFromBytes

public void unmarshalFromBytes(byte[] in)
                        throws com.stc.otd.runtime.UnmarshalException,
                               java.io.IOException
Unmarshals a byte array into the data content of an OTD.

Specified by:
unmarshalFromBytes in interface com.stc.otd.runtime.OtdRoot2
Parameters:
in - byte array of the BLOB to be unmarshalled
Throws:
com.stc.otd.runtime.UnmarshalException - on input error
java.io.IOException

unmarshal

public void unmarshal(com.stc.otd.runtime.OtdInputStream in)
               throws com.stc.otd.runtime.UnmarshalException
Unmarshals a BLOB into the data content of an OTD.

Specified by:
unmarshal in interface com.stc.otd.runtime.OtdRoot
Parameters:
in - byte stream of the BLOB to be unmarshalled.
Throws:
com.stc.otd.runtime.UnmarshalException - when unable to unmarshal BLOB into OTD

main

public static void main(java.lang.String[] args)

Sun Adapter for SAG API

Copyright © 2008 Sun Microsystems, Inc. All rights reserved.