|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object IDocOtdRoot com.stc.sapale.codegen.idoc.DataRecord4X
Data Record Object - represents a SAP Data Record version 46A
Method Summary | |
java.lang.String[] |
check()
Validates the contents of the data tree. |
java.lang.String |
getDataString()
Return a string representation of this Data Record. |
java.lang.String |
getDOCNUM()
Return a java.lang.String representation of the SAP type DOCNUM - IDoc number. |
java.lang.String |
getHLEVEL()
Return a java.lang.String representation of the SAP type HLEVEL - Hierarchy level of SAP segment. |
java.lang.String |
getMANDT()
Return a java.lang.String representation of the SAP type MANDT - Client. |
java.lang.String |
getPSGNUM()
Return a java.lang.String representation of the SAP type PSGNUM - Number of superior parent segment. |
boolean |
getSegIsMandatory()
Return a boolean representation of SegIsMandatory. |
int |
getSegLength()
Gets the actual length of the segment. |
java.lang.String |
getSEGNAM()
Return a java.lang.String representation of the SAP type SEGNAM - Segment (external name). |
java.lang.String |
getSEGNUM()
Return a java.lang.String representation of the SAP type SEGNUM - Segment number. |
boolean |
hasDOCNUM()
Tests whether DOCNUM is present or not. |
boolean |
hasHLEVEL()
Tests whether HLEVEL is present or not. |
boolean |
hasMANDT()
Tests whether MANDT is present or not. |
boolean |
hasPSGNUM()
Tests whether PSGNUM is present or not. |
boolean |
hasSEGNAM()
Tests whether SEGNAM is present or not. |
boolean |
hasSEGNUM()
Tests whether SEGNUM is present or not. |
void |
marshal(OtdOutputStream out)
Marshals the data content of an ETD into a BLOB. |
OtdMeta |
meta()
Gets the OtdMeta root |
void |
reset()
Clears out any data and resources held by this OTD instance. |
void |
setDOCNUM(java.lang.String value)
Set the value of DOCNUM - IDoc number |
void |
setHLEVEL(java.lang.String value)
Set the value of HLEVEL - Hierarchy level of SAP segment |
void |
setMANDT(java.lang.String value)
Set the value of MANDT - Client |
void |
setPSGNUM(java.lang.String value)
Set the value of PSGNUM - Number of superior parent segment. |
void |
setSegIsMandatory(boolean val)
Set the value of SegIsMandatory. |
void |
setSEGNAM(java.lang.String value)
Set the value of SEGNAM - Segment (external name) |
void |
setSEGNUM(java.lang.String value)
Set the value of SEGNUM - Segment number |
void |
unmarshal(OtdInputStream in)
Unmarshals a BLOB into the data content of an ETD. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public java.lang.String[] check()
public java.lang.String getDataString()
public java.lang.String getDOCNUM()
public java.lang.String getHLEVEL()
public java.lang.String getMANDT()
public java.lang.String getPSGNUM()
public boolean getSegIsMandatory()
public int getSegLength()
public java.lang.String getSEGNAM()
public java.lang.String getSEGNUM()
public boolean hasDOCNUM()
public boolean hasHLEVEL()
public boolean hasMANDT()
public boolean hasPSGNUM()
public boolean hasSEGNAM()
public boolean hasSEGNUM()
public void marshal(OtdOutputStream out) throws MarshalException
out
- DOCUMENT ME!
MarshalException
- Thrown when unable to marshal ETD.public OtdMeta meta()
public void reset()
public void setDOCNUM(java.lang.String value)
value
- The java.lang.String value for DOCNUM.
java.lang.IndexOutOfBoundsException
- child or index is out of range.
java.lang.IllegalArgumentException
- A method has been passed an illegal or inappropriate argument.public void setHLEVEL(java.lang.String value)
value
- The java.lang.String value for HLEVEL.
java.lang.IndexOutOfBoundsException
- child or index is out of range.
java.lang.IllegalArgumentException
- A method has been passed an illegal or inappropriate argument.public void setMANDT(java.lang.String value)
value
- The java.lang.String value for MANDT
java.lang.IndexOutOfBoundsException
- child or index is out of range.
java.lang.IllegalArgumentException
- A method has been passed an illegal or inappropriate argument.public void setPSGNUM(java.lang.String value)
value
- The java.lang.String value for PSGNUM
java.lang.IndexOutOfBoundsException
- child or index is out of range.
java.lang.IllegalArgumentException
- A method has been passed an illegal or inappropriate argument.public void setSegIsMandatory(boolean val)
val
- boolean value for SegIsMandatory.public void setSEGNAM(java.lang.String value)
value
- The java.lang.String value for SEGNAM.
java.lang.IndexOutOfBoundsException
- child or index is out of range.
java.lang.IllegalArgumentException
- A method has been passed an illegal or inappropriate argument.public void setSEGNUM(java.lang.String value)
value
- The java.lang.String value for SEGNUM.
java.lang.IndexOutOfBoundsException
- child or index is out of range.
java.lang.IllegalArgumentException
- A method has been passed an illegal or inappropriate argument.public void unmarshal(OtdInputStream in) throws UnmarshalException
in
- Byte array of the BLOB to be unmarshalled.
UnmarshalException
- Thrown when unable to unmarshal BLOB into
ETD.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2006 Sun Microsystems, Inc.