|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.vamsas.client.Vobject
uk.ac.vamsas.objects.core.Seg
a region from start to end, with flag for inclusivity of terminii
Field Summary |
Fields inherited from class uk.ac.vamsas.client.Vobject |
__added_since_last_read, __last_hash, __stored_in_document, __updated_since_last_read, __visited, __vorba, registerable, V_parent, vorbaId |
Constructor Summary | |
Seg()
|
Method Summary | |
void |
deleteEnd()
|
void |
deleteInclusive()
|
void |
deleteStart()
|
boolean |
equals(java.lang.Object obj)
Overrides the java.lang.Object.equals method. |
int |
getEnd()
Returns the value of field 'end'. |
boolean |
getInclusive()
Returns the value of field 'inclusive'. |
int |
getStart()
Returns the value of field 'start'. |
boolean |
hasEnd()
Method hasEnd. |
int |
hashCode()
Overrides the java.lang.Object.hashCode method. |
boolean |
hasInclusive()
Method hasInclusive. |
boolean |
hasStart()
Method hasStart. |
boolean |
isInclusive()
Returns the value of field 'inclusive'. |
boolean |
isValid()
Method isValid. |
void |
marshal(org.xml.sax.ContentHandler handler)
|
void |
marshal(java.io.Writer out)
|
void |
setEnd(int end)
Sets the value of field 'end'. |
void |
setInclusive(boolean inclusive)
Sets the value of field 'inclusive'. |
void |
setStart(int start)
Sets the value of field 'start'. |
static Seg |
unmarshal(java.io.Reader reader)
Method unmarshal. |
void |
validate()
|
Methods inherited from class uk.ac.vamsas.client.Vobject |
__callHash, __ensure_instance_ids, __ensure_instance_ids, __getInstanceIdField, __getLHash, __setFinalHash, __setInitHash, doHash, finalize, get__last_hash, getV_parent, getVorbaId, is__stored_in_document, isNewInDocument, isRegisterable, isRegistered, isUpdated, merge, set__added_since_last_read, set__stored_in_document, set__updated_since_last_read, setInstanceIdField, setRegisterable, setV_parent, setVorbaId |
Methods inherited from class java.lang.Object |
clone, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Seg()
Method Detail |
public void deleteEnd()
public void deleteInclusive()
public void deleteStart()
public boolean equals(java.lang.Object obj)
obj
-
public int getEnd()
public boolean getInclusive()
public int getStart()
public boolean hasEnd()
public boolean hasInclusive()
public boolean hasStart()
public int hashCode()
The following steps came from Effective Java Programming Language Guide by Joshua Bloch, Chapter 3
hashCode
in class Vobject
public boolean isInclusive()
public boolean isValid()
public void marshal(java.io.Writer out) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
out
-
org.exolab.castor.xml.MarshalException
- if object is null or if any SAXException is thrown during
marshaling
org.exolab.castor.xml.ValidationException
- if this object is an invalid instance according to the schemapublic void marshal(org.xml.sax.ContentHandler handler) throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
handler
-
java.io.IOException
- if an IOException occurs during marshaling
org.exolab.castor.xml.ValidationException
- if this object is an invalid instance according to the schema
org.exolab.castor.xml.MarshalException
- if object is null or if any SAXException is thrown during
marshalingpublic void setEnd(int end)
end
- the value of field 'end'.public void setInclusive(boolean inclusive)
inclusive
- the value of field 'inclusive'.public void setStart(int start)
start
- the value of field 'start'.public static Seg unmarshal(java.io.Reader reader) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
reader
-
org.exolab.castor.xml.MarshalException
- if object is null or if any SAXException is thrown during
marshaling
org.exolab.castor.xml.ValidationException
- if this object is an invalid instance according to the schemapublic void validate() throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException
- if this object is an invalid instance according to the schema
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |