|
soap tutorial | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectadriani.jws.template.wrappers.Wrapper
adriani.jws.template.wrappers.WrapperInformation
public class WrapperInformation
WrapperInformation - general class wrapping the inner ADBBean
elements containing a single
SingleRecordType
object.
Field Summary | |
---|---|
protected java.lang.StringBuffer |
first
Wrapped output value, used to fill the SOAP response during validation. |
static java.lang.StringBuffer |
FIRST
Static default value for the FIRST field (should match one of the static reference values). |
protected java.lang.StringBuffer |
second
Wrapped output value, used to fill the SOAP response during validation. |
static java.lang.StringBuffer |
SECOND
Static default value for the SECOND field (should match one of the static reference values). |
Fields inherited from class adriani.jws.template.wrappers.Wrapper |
---|
element, leadingName, logger, NO_NUMBER, NOT_AVAILABLE, NOT_BIG_INTEGER, UNDEFINED |
Constructor Summary | |
---|---|
WrapperInformation()
Stateless constructor, loading the default values into this wrapper. |
Method Summary | |
---|---|
java.lang.StringBuffer |
getFirst()
Accessor method. |
java.lang.StringBuffer |
getSecond()
Accessor method. |
void |
setDefaults()
Load all the STATIC default values (defined in this class) into the corresponding class attributes. |
void |
setFirst(java.lang.StringBuffer value)
Mutator method. |
void |
setSecond(java.lang.StringBuffer value)
Mutator method. |
boolean |
validate()
Validation is performed by the Eclipse's ADBBean objects ( e.g. |
Methods inherited from class adriani.jws.template.wrappers.Wrapper |
---|
compareSB, getElement |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.StringBuffer FIRST
public static final java.lang.StringBuffer SECOND
protected java.lang.StringBuffer first
protected java.lang.StringBuffer second
Constructor Detail |
---|
public WrapperInformation()
setDefaults()
Method Detail |
---|
public boolean validate() throws WrapperFault
ADBBean
objects ( e.g. NameType.setNameType() ).
If the validation process is successful, the resulting ADBBean
object is stored as
class field to save computation time, since after validation we expect that the method
getElement()
should be invoked.ADBBean
Java classes
should be used only within this method and in the forceMessage()
method, not elsewhere.
validate
in class Wrapper
ADBBean
object wrapped by this class
WrapperFault
public void setDefaults()
setDefaults
in class Wrapper
WrapperInformation()
public java.lang.StringBuffer getFirst()
public java.lang.StringBuffer getSecond()
public void setFirst(java.lang.StringBuffer value)
public void setSecond(java.lang.StringBuffer value)
|
Build 18/09/2012 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |