OOP2002Example
Class GewichtType
java.lang.Object
|
+--OOP2002Example.GewichtType
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- Gewicht
- public abstract class GewichtType
- extends java.lang.Object
- implements java.io.Serializable
- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_leergewicht
private int _leergewicht
_has_leergewicht
private boolean _has_leergewicht
- keeps track of state for field: _leergewicht
_zulGesamtgewicht
private java.math.BigDecimal _zulGesamtgewicht
GewichtType
public GewichtType()
getLeergewicht
public int getLeergewicht()
getZulGesamtgewicht
public java.math.BigDecimal getZulGesamtgewicht()
hasLeergewicht
public boolean hasLeergewicht()
isValid
public boolean isValid()
marshal
public abstract void marshal(java.io.Writer out)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
- Parameters:
out
-
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
marshal
public abstract void marshal(org.xml.sax.DocumentHandler handler)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
- Parameters:
handler
-
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
setLeergewicht
public void setLeergewicht(int leergewicht)
- Parameters:
leergewicht
-
setZulGesamtgewicht
public void setZulGesamtgewicht(java.math.BigDecimal zulGesamtgewicht)
- Parameters:
zulGesamtgewicht
-
validate
public void validate()
throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException