|
Sun Adapter for SAG API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.stc.connector.sagadapter.primitive.sw.SwGbl_StatusAttributes
public class SwGbl_StatusAttributes
Constructor Summary | |
---|---|
SwGbl_StatusAttributes()
|
|
SwGbl_StatusAttributes(com.stc.otd.runtime.OtdMeta mObj)
|
Method Summary | |
---|---|
java.lang.Object |
addSwGbl_Details()
|
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. |
int |
countSwGbl_Details()
countXXX() reutrns number of repeated Objects excluding holes. |
int |
countSwGbl_Parameter()
countXXX() reutrns number of repeated Objects excluding holes. |
java.lang.Object |
get(int child)
|
java.lang.Object |
get(int child,
int index)
|
java.util.Map |
getmapSwGbl_Details()
|
java.util.Map |
getmapSwGbl_Parameter()
|
java.lang.Object |
getruntimeimplSwGbl_Details()
|
java.lang.Object |
getruntimeimplSwGbl_Parameter()
|
java.lang.String |
getSwGbl_Action()
|
java.lang.String |
getSwGbl_Code()
|
SwGbl_Details[] |
getSwGbl_Details()
|
SwGbl_Details |
getSwGbl_Details(int index)
for internal use only to get a branch object |
java.util.ArrayList |
getSwGbl_DetailsList()
|
java.lang.String[] |
getSwGbl_Parameter()
|
java.lang.String |
getSwGbl_Parameter(int index)
for internal use only to get a branch object |
java.util.ArrayList |
getSwGbl_ParameterList()
|
java.lang.String |
getSwGbl_Severity()
|
java.lang.String |
getSwGbl_Text()
|
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 |
hasSwGbl_Action()
|
boolean |
hasSwGbl_Details()
|
boolean |
hasSwGbl_Details(int child)
|
boolean |
hasSwGbl_Parameter()
|
boolean |
hasSwGbl_Parameter(int child)
|
boolean |
hasSwGbl_Text()
|
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 |
removeSwGbl_Details()
|
void |
removeSwGbl_Details(int index)
|
void |
removeSwGbl_Parameter()
|
void |
removeSwGbl_Parameter(int index)
|
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 |
setmapSwGbl_Details(java.util.Map value)
|
void |
setmapSwGbl_Parameter(java.util.Map value)
|
void |
setSwGbl_Action(java.lang.String value)
|
void |
setSwGbl_Code(java.lang.String value)
|
void |
setSwGbl_Details(int index,
SwGbl_Details value)
|
void |
setSwGbl_Details(com.stc.otd.runtime.provider.RepeatDTDXSDImpl value)
|
void |
setSwGbl_Details(SwGbl_Details[] value)
|
void |
setSwGbl_Parameter(int index,
java.lang.String value)
|
void |
setSwGbl_Parameter(com.stc.otd.runtime.provider.RepeatDTDXSDImpl value)
|
void |
setSwGbl_Parameter(java.lang.String[] value)
|
void |
setSwGbl_Severity(java.lang.String value)
|
void |
setSwGbl_Text(java.lang.String value)
|
int |
size(int child)
Returns one past the last valid index for a repeating child. |
int |
sizeSwGbl_Details()
sizeXXX() returns number of repeated Objects including holes |
int |
sizeSwGbl_Parameter()
sizeXXX() returns number of repeated Objects including holes |
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 |
---|
public SwGbl_StatusAttributes(com.stc.otd.runtime.OtdMeta mObj)
public SwGbl_StatusAttributes()
Method Detail |
---|
public void init0()
public com.stc.otd.runtime.OtdMeta meta()
meta
in interface com.stc.otd.runtime.OtdNode
public java.lang.String getSwGbl_Severity()
public void setSwGbl_Severity(java.lang.String value)
public java.lang.String getSwGbl_Code()
public void setSwGbl_Code(java.lang.String value)
public boolean hasSwGbl_Parameter() throws java.lang.IndexOutOfBoundsException
java.lang.IndexOutOfBoundsException
public boolean hasSwGbl_Parameter(int child) throws java.lang.IndexOutOfBoundsException
java.lang.IndexOutOfBoundsException
public java.util.ArrayList getSwGbl_ParameterList()
public java.lang.String[] getSwGbl_Parameter()
public java.util.Map getmapSwGbl_Parameter()
public java.lang.Object getruntimeimplSwGbl_Parameter()
public void setmapSwGbl_Parameter(java.util.Map value)
public void setSwGbl_Parameter(com.stc.otd.runtime.provider.RepeatDTDXSDImpl value)
public void setSwGbl_Parameter(java.lang.String[] value)
public void removeSwGbl_Parameter()
public java.lang.String getSwGbl_Parameter(int index) throws java.lang.IndexOutOfBoundsException
java.lang.IndexOutOfBoundsException
public void setSwGbl_Parameter(int index, java.lang.String value)
public void removeSwGbl_Parameter(int index)
public int countSwGbl_Parameter()
public int sizeSwGbl_Parameter()
public boolean hasSwGbl_Text() throws java.lang.IndexOutOfBoundsException
java.lang.IndexOutOfBoundsException
public java.lang.String getSwGbl_Text()
public void setSwGbl_Text(java.lang.String value)
public boolean hasSwGbl_Action() throws java.lang.IndexOutOfBoundsException
java.lang.IndexOutOfBoundsException
public java.lang.String getSwGbl_Action()
public void setSwGbl_Action(java.lang.String value)
public boolean hasSwGbl_Details() throws java.lang.IndexOutOfBoundsException
java.lang.IndexOutOfBoundsException
public boolean hasSwGbl_Details(int child) throws java.lang.IndexOutOfBoundsException
java.lang.IndexOutOfBoundsException
public java.util.ArrayList getSwGbl_DetailsList()
public SwGbl_Details[] getSwGbl_Details()
public java.util.Map getmapSwGbl_Details()
public java.lang.Object getruntimeimplSwGbl_Details()
public void setmapSwGbl_Details(java.util.Map value)
public void setSwGbl_Details(com.stc.otd.runtime.provider.RepeatDTDXSDImpl value)
public void setSwGbl_Details(SwGbl_Details[] value)
public void removeSwGbl_Details()
public SwGbl_Details getSwGbl_Details(int index) throws java.lang.IndexOutOfBoundsException
java.lang.IndexOutOfBoundsException
public void setSwGbl_Details(int index, SwGbl_Details value)
public void removeSwGbl_Details(int index)
public java.lang.Object addSwGbl_Details()
public int countSwGbl_Details()
public int sizeSwGbl_Details()
public java.lang.Object get(int child) throws java.lang.IndexOutOfBoundsException
get
in interface com.stc.otd.runtime.OtdNode
java.lang.IndexOutOfBoundsException
public java.lang.Object get(int child, int index) throws java.lang.IndexOutOfBoundsException
get
in interface com.stc.otd.runtime.OtdNode
java.lang.IndexOutOfBoundsException
public void set(int child, java.lang.Object value) throws java.lang.IndexOutOfBoundsException, java.lang.IllegalArgumentException
set
in interface com.stc.otd.runtime.OtdNode
java.lang.IndexOutOfBoundsException
java.lang.IllegalArgumentException
public void set(int child, int index, java.lang.Object value) throws java.lang.IndexOutOfBoundsException, java.lang.IllegalArgumentException
set
in interface com.stc.otd.runtime.OtdNode
child
- index of child below this parentindex
- index of child instance in repetitionvalue
- the new child value
java.lang.IndexOutOfBoundsException
- for invalid index or child
java.lang.IllegalArgumentException
- for a type or value errorpublic boolean has(int child) throws java.lang.IndexOutOfBoundsException
has
in interface com.stc.otd.runtime.OtdNode
child
- index of child below this parent
java.lang.IndexOutOfBoundsException
- for invalid childpublic boolean has(int child, int index) throws java.lang.IndexOutOfBoundsException
has
in interface com.stc.otd.runtime.OtdNode
child
- index of child below this parentindex
- index of child instance in repetition, from 0
java.lang.IndexOutOfBoundsException
- for invalid index or childpublic int count(int child)
count
in interface com.stc.otd.runtime.OtdNode
child
- index of child below this parent
java.lang.IndexOutOfBoundsException
- for invalid childpublic int size(int child)
size
in interface com.stc.otd.runtime.OtdNode
child
- index of child below this parent
java.lang.IndexOutOfBoundsException
- for invalid childpublic int choice()
choice
in interface com.stc.otd.runtime.OtdNode
public void remove(int child)
remove
in interface com.stc.otd.runtime.OtdNode
child
- index of child below this parent, from 0
java.lang.IndexOutOfBoundsException
- for invalid or mandatory childpublic void remove(int child, int index)
remove
in interface com.stc.otd.runtime.OtdNode
child
- index of child below this parent, from 0index
- index of child instance in repetition, from 0
java.lang.IndexOutOfBoundsException
- for invalid or non-repeating childpublic void unmarshal(org.xml.sax.InputSource inputSource, com.stc.otd.tools.xml.SAXLexer lexer) throws org.xml.sax.SAXException, com.stc.otd.runtime.UnmarshalException
org.xml.sax.SAXException
com.stc.otd.runtime.UnmarshalException
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
com.stc.otd.runtime.MarshalException
org.xml.sax.SAXException
public java.lang.String toString()
toString
in class java.lang.Object
public void reset()
reset
in interface com.stc.otd.runtime.OtdRoot
public java.lang.String[] check()
check
in interface com.stc.otd.runtime.OtdRoot
public void includeXmlDeclaration(boolean val)
val
- DOCUMENT ME!public java.lang.String marshalToString() throws com.stc.otd.runtime.MarshalException, java.io.IOException
marshalToString
in interface com.stc.otd.runtime.OtdRoot2
out
- the string
com.stc.otd.runtime.MarshalException
- if the output cannot be produced
java.io.IOException
public byte[] marshalToBytes() throws com.stc.otd.runtime.MarshalException, java.io.IOException
marshalToBytes
in interface com.stc.otd.runtime.OtdRoot2
out
- the byte array
com.stc.otd.runtime.MarshalException
- if the output cannot be produced
java.io.IOException
public void marshal(com.stc.otd.runtime.OtdOutputStream out) throws com.stc.otd.runtime.MarshalException
marshal
in interface com.stc.otd.runtime.OtdRoot
out
- DOCUMENT ME!
com.stc.otd.runtime.MarshalException
- Thrown when unable to marshal OTD.public void marshalDoctype(java.lang.String decl)
decl
- DOCUMENT ME!public void marshalProlog(java.lang.String target, java.lang.String data)
target
- DOCUMENT ME!data
- DOCUMENT ME!public void unmarshalFromString(java.lang.String in) throws com.stc.otd.runtime.UnmarshalException
unmarshalFromString
in interface com.stc.otd.runtime.OtdRoot2
in
- string be unmarshalled
com.stc.otd.runtime.UnmarshalException
- if input data cannot be parsedpublic void unmarshalFromBytes(byte[] in) throws com.stc.otd.runtime.UnmarshalException, java.io.IOException
unmarshalFromBytes
in interface com.stc.otd.runtime.OtdRoot2
in
- byte array of the BLOB to be unmarshalled
com.stc.otd.runtime.UnmarshalException
- on input error
java.io.IOException
public void unmarshal(com.stc.otd.runtime.OtdInputStream in) throws com.stc.otd.runtime.UnmarshalException
unmarshal
in interface com.stc.otd.runtime.OtdRoot
in
- byte stream of the BLOB to be unmarshalled.
com.stc.otd.runtime.UnmarshalException
- when unable to unmarshal BLOB into OTDpublic static void main(java.lang.String[] args)
|
Sun Adapter for SAG API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |