|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgr.uoa.di.madgik.grs.record.RecordDefinition
gr.uoa.di.madgik.grs.record.GenericRecordDefinition
public class GenericRecordDefinition
This RecordDefinition
extending class acts as a generic placeholder for record definitions. It does not add much in
the general definition provided by the RecordDefinition
super class, other than supplying a readily available, non
abstract implementation
Constructor Summary | |
---|---|
GenericRecordDefinition()
Create a new instance |
|
GenericRecordDefinition(FieldDefinition[] fieldDefinitions)
Create a new instance |
Method Summary | |
---|---|
void |
copyFrom(GenericRecordDefinition other)
|
void |
extendDeflate(java.io.DataOutput out)
Method that needs to be implemented by the RecordDefinition extenders to deflate any additional information
kept |
boolean |
extendEquals(java.lang.Object obj)
Method that needs to be implemented by the RecordDefinition extenders to extend the equality logic
based on additional logic contained in the implementations |
void |
extendFromXML(org.w3c.dom.Element element)
|
void |
extendInflate(java.io.DataInput in)
Method that needs to be implemented by the RecordDefinition extenders to inflate any additional information
previously deflated by the respective extender method |
void |
extendToXML(org.w3c.dom.Document out,
org.w3c.dom.Element element)
|
Methods inherited from class gr.uoa.di.madgik.grs.record.RecordDefinition |
---|
copyFrom, deflate, equals, fromXML, getDefinition, getDefinition, getDefinitionSize, getTransportDirective, inflate, setTransportDirective, toXML |
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GenericRecordDefinition()
RecordDefinition.RecordDefinition()
public GenericRecordDefinition(FieldDefinition[] fieldDefinitions)
fieldDefinitions
- the field definitions to set for the record definitionRecordDefinition.RecordDefinition(FieldDefinition[])
Method Detail |
---|
public void copyFrom(GenericRecordDefinition other) throws GRS2RecordSerializationException
GRS2RecordSerializationException
public boolean extendEquals(java.lang.Object obj)
RecordDefinition
extenders to extend the equality logic
based on additional logic contained in the implementations
This method simply checks for type equality and does not base its decision an any other elements
extendEquals
in class RecordDefinition
obj
- the object to check equality for
RecordDefinition.extendEquals(java.lang.Object)
public void extendDeflate(java.io.DataOutput out) throws GRS2RecordSerializationException
RecordDefinition
extenders to deflate any additional information
kept
nothing to add to deflate
extendDeflate
in class RecordDefinition
out
- the stream to deflate to
GRS2RecordSerializationException
- there was a serialization errorRecordDefinition.extendDeflate(java.io.DataOutput)
public void extendInflate(java.io.DataInput in) throws GRS2RecordSerializationException
RecordDefinition
extenders to inflate any additional information
previously deflated by the respective extender method
nothing to get from inflate
extendInflate
in class RecordDefinition
in
- the stream to inflate from
GRS2RecordSerializationException
- there was a problem deserializing the definition stateRecordDefinition.extendInflate(java.io.DataInput)
public void extendFromXML(org.w3c.dom.Element element) throws GRS2RecordSerializationException
extendFromXML
in class RecordDefinition
GRS2RecordSerializationException
public void extendToXML(org.w3c.dom.Document out, org.w3c.dom.Element element) throws GRS2RecordSerializationException
extendToXML
in class RecordDefinition
GRS2RecordSerializationException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |