|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.codestreet.messageforge.RFld com.codestreet.messageforge.RFldBean
Field Summary | |
protected java.lang.Class |
cls_
|
protected java.lang.Object |
dataObj_
|
Fields inherited from class com.codestreet.messageforge.RFld |
desc_, fieldId_, locked_, name_, optional_, propertyName_, tags_, transient_, valSet_ |
Constructor Summary | |
RFldBean()
|
|
RFldBean(java.lang.String name,
int fieldId,
java.lang.String className)
|
|
RFldBean(java.lang.String name,
int fieldId,
java.lang.String desc,
java.lang.String className)
|
Method Summary | |
boolean |
equals(java.lang.Object anObject)
Check if another field is equal to this field. |
java.lang.Class |
getClassType()
|
int |
GetHashCode()
|
java.lang.String |
getTag()
Get the XML tag for this field type. |
RFldType |
getType()
Get field type. |
java.lang.Object |
getValue()
|
java.util.Hashtable |
getValueAsHashtable()
Get the field value as a java.util.Hashtable. |
java.lang.Object |
getValueAsObject()
Get the field value as an object. |
java.lang.String |
getValueAsString()
Get the field value as a string. |
int |
hashCode()
Return the hash code value for the field. |
void |
reset()
Reset the field value. |
RFld |
set(org.jdom.Element elem)
Set the field value from a JDOM element. |
RFld |
set(java.util.Hashtable newData)
|
RFld |
set(java.lang.Object newData)
Set the value of the field from an Object. |
void |
validate()
Validate against constraints. |
void |
validate(java.lang.Object newData)
|
Methods inherited from class com.codestreet.messageforge.RFld |
addConstraint, buildMinMaxConstraintKey, getConstraint, getConstraintCount, getDesc, getId, getName, getOptional, getPropertyName, getTags, getTransient, isConstrained, isLocked, isProperty, isValSet, marshal, marshal, setId, setLocked, setName, setOptional, setPropertyName, setTags, setTransient, setXmlAttrNames, setXmlTags |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.lang.Object dataObj_
protected java.lang.Class cls_
Constructor Detail |
public RFldBean()
public RFldBean(java.lang.String name, int fieldId, java.lang.String className)
public RFldBean(java.lang.String name, int fieldId, java.lang.String desc, java.lang.String className)
Method Detail |
public RFldType getType()
RFld
getType
in interface RFldInterface
getType
in class RFld
RFldType
public java.lang.Object getValue()
public java.lang.Class getClassType()
public java.lang.Object getValueAsObject()
RFldInterface
public java.lang.String getValueAsString()
RFld
getValueAsString
in class RFld
public java.util.Hashtable getValueAsHashtable()
RFldInterface
public java.lang.String getTag()
RFld
getTag
in class RFld
public boolean equals(java.lang.Object anObject)
RFld
equals
in class RFld
anObject
- Another object.
public final int hashCode()
hashCode
in class RFld
public int GetHashCode()
public void reset() throws FieldValidationException
RFld
reset
in class RFld
FieldValidationException
RFld.isValSet()
public RFld set(java.lang.Object newData) throws FieldValidationException
RFld
set
in interface RFldInterface
set
in class RFld
newData
- New field value.
FieldValidationException
public RFld set(java.util.Hashtable newData) throws FieldValidationException
FieldValidationException
public final RFld set(org.jdom.Element elem) throws FieldValidationException
set
in interface RFldInterface
set
in class RFld
elem
- Field value as a JDOM element.
FieldValidationException
public void validate() throws FieldValidationException
RFld
validate
in class RFld
FieldValidationException
public void validate(java.lang.Object newData) throws FieldValidationException
FieldValidationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |