|
tauZaman v0.1 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--tauzaman.field.Field
Field class represents a single Field. A Field consists of
two components;
FieldInfo and Value. FieldInfo,
which is fetched from the content of a Property Specification file,
contains all the information that is sufficient to represent a Field;
String name of this Field, String variable name that is used for this Field in
Format of related Property and URL of FVSupport,
which will be used calculate value of this Field.
Value is a long and contains Field Value, which is
fetched from the content of a string temporal constant that is originally passed
from one of the temporal data types; Instant, Period,
Interval.
Calendar,
Property,
Instant,
Period,
Interval| Constructor Summary | |
Field(FieldInfo fieldInfo)
Constructs Field object. |
|
| Method Summary | |
java.lang.Object |
clone()
Returns cloned version of this Field object. |
java.lang.String |
getName()
Returns name of this Field.
|
java.net.URL |
getUrl()
Returns URL of FVSupport of this Field.
|
long |
getValue()
Returns value of this Field. |
java.lang.String |
getVariableName()
Returns variable name of this Field.
|
boolean |
isDirty()
Return true if this Field is marked. |
void |
setAsDirty()
Sets this Field as being used. |
void |
setValue(long value)
Sets value of this Field to a given value. |
java.lang.String |
toString()
Returns String representation of this object. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Field(FieldInfo fieldInfo)
Field object.
fieldInfo - a FieldInfo that includes all Field information
for this Field| Method Detail |
public java.lang.Object clone()
Field object.
clone in class java.lang.ObjectField objectpublic long getValue()
Field.
public void setValue(long value)
Field to a given value.
public java.lang.String getVariableName()
Field.
This value is fetched from FieldInfo that this
Field contains.
public java.lang.String getName()
Field.
This value is fetched from FieldInfo that this
Field contains.
public java.net.URL getUrl()
FVSupport of this Field.
This value is fetched from FieldInfo that this
Field contains.
public boolean isDirty()
Field is marked. False o.w.
Field is marked. False o.w.public void setAsDirty()
Field as being used.
public java.lang.String toString()
toString in class java.lang.Object
|
tauZaman v0.1 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||