|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.infoengine.object.IeMeta
Field Summary | |
private static String |
_serialVersion
|
private List |
child_v
|
private int |
index
|
private String |
name
|
Constructor Summary | |
IeMeta()
default no arg constructor to be used for de-serialization |
|
IeMeta(String name)
Constructs a new IeMeta object with a specified name. |
Method Summary | |
protected Object |
_getDatumInternal()
|
protected Vector |
_getVector()
|
void |
addDatum(IeDatum datum)
Adds a datum to the meta. |
protected void |
addDatumInternal(Object o)
|
void |
addDatums(Vector v)
Appends a Vector of datums to the meta. |
IeDatum |
firstDatum()
Returns the first datum contained in the meta. |
IeDatum |
getDatum()
Returns the first datum contained in the meta. |
IeDatum |
getDatumAt(int index)
Returns the datum located at a specified index. |
int |
getDatumCount()
Returns the number of datums contained in the meta. |
Enumeration |
getDatums()
Returns all of the datums contained in the meta. |
protected int |
getIndex()
|
String |
getName()
Returns the name of this meta. |
String |
getNodeName()
|
boolean |
hasChildNodes()
|
int |
indexOfDatum(IeDatum datum)
Returns the index of a specified datum. |
IeDatum |
lastDatum()
Returns the last datum contained in the meta. |
void |
readExternal(ObjectInput in)
|
void |
removeAllDatums()
Removes all of the datums contained in the meta. |
void |
removeDatum(IeDatum datum)
Removes a specified datum from the meta. |
void |
removeDatumAt(int index)
Removes the datum located at a specified index of the meta. |
void |
setDatum(IeDatum datum)
Removes any pre-existing datums contained within the meta, then sets the specified datum as the only datum in the meta. |
void |
setDatumAt(IeDatum datum,
int index)
Sets the datum located at a specified index of the meta. |
protected void |
setIndex(int i)
|
void |
writeExternal(ObjectOutput out)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private String name
private List child_v
private int index
private static final String _serialVersion
Constructor Detail |
public IeMeta()
public IeMeta(String name)
Method Detail |
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void addDatum(IeDatum datum)
datum
- the datum to be addedpublic void addDatums(Vector v)
v
- the Vector of datums to be appendedpublic IeDatum firstDatum()
public IeDatum getDatum()
public Enumeration getDatums()
public IeDatum getDatumAt(int index)
index
- the index of the datum to be returned
public int getDatumCount()
public int indexOfDatum(IeDatum datum)
datum
- the datum for which to return an index
public IeDatum lastDatum()
public void removeAllDatums()
public void removeDatum(IeDatum datum)
datum
- the datum to be removedpublic void removeDatumAt(int index)
index
- the index of the datum to be removedpublic void setDatum(IeDatum datum)
datum
- the datum to setpublic void setDatumAt(IeDatum datum, int index)
datum
- the new datum to be setindex
- the index of the datum to be setpublic String getName()
protected Vector _getVector()
protected void addDatumInternal(Object o)
protected Object _getDatumInternal()
protected void setIndex(int i)
protected int getIndex()
public String getNodeName()
public boolean hasChildNodes()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |