|
tauZaman v0.1 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--tauzaman.field.Fields
Fields class represents a list of Fields.
In other words Fields is simply the unparsed version
of a time-stamp.
If a Field exists in Fields, it means it is valid.
Otherwise it means temporal constant that is being parsed does not have
that component in it.
An element of Fields can be either a Field or
a Fields object. As an example;
A Period is defined with two period delimiters and
two Instants. That means there are FieldInfos
in corresponding Property
for period delimiters and also for each Instants.
Fields that are derived from FieldInfos for
Instants should be kept seperately from the Fields
that are derived from FieldInfos for period delimiters.
So, a Fields object will contain Fields for
period delimiters and also two Fields objects for
two Instants.
This is a metamorphic structure
Field,
FieldInfo,
Instant| Constructor Summary | |
Fields(java.lang.String name)
Constructs a Fields object, which allocates memory for
a list that contains a set of Fields. |
|
| Method Summary | |
void |
addElement(java.lang.Object aFieldsElement)
Adds a Field or a Fields to this
Fields. |
java.lang.Object |
clone()
Returns a cloned version of this Fields. |
Field |
getFieldByName(java.lang.String name)
Returns the first Field with a given name
that this Fields contains. |
Field |
getFieldByVariableName(java.lang.String varName)
Returns the first unmarked (clean) Field with a given variable name
that this Fields contains. |
Field[] |
getImmediateField()
Returns an array of Field, which are immediate
Field objects of this Fields. |
Fields[] |
getImmediateFields()
Returns an array of Fields, which are immediate
Fields objects of this Fields. |
java.lang.String |
getName()
Returns name of this Fields. |
java.lang.String |
toString()
Returns String representation of this Fields. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Fields(java.lang.String name)
Fields object, which allocates memory for
a list that contains a set of Fields.
name - String name of corresponding Property name that
this Fields is formed| Method Detail |
public java.lang.Object clone()
Fields. It produces
a deep copy of this Fields.
clone in class java.lang.ObjectFieldspublic void addElement(java.lang.Object aFieldsElement)
Field or a Fields to this
Fields.
aFieldsElement - which might either be Fields or
Fieldpublic java.lang.String getName()
Fields.
Fieldspublic Field getFieldByVariableName(java.lang.String varName)
Field with a given variable name
that this Fields contains.
Field that is not dirty and has given variable name. Returns null if
not existspublic Field getFieldByName(java.lang.String name)
Field with a given name
that this Fields contains.
Field that has given name. Returns null if
not exists.public Fields[] getImmediateFields()
Fields, which are immediate
Fields objects of this Fields.
Fieldspublic Field[] getImmediateField()
Field, which are immediate
Field objects of this Fields.
Fieldpublic java.lang.String toString()
Fields.
toString in class java.lang.ObjectFields
|
tauZaman v0.1 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||