|
||||||||||
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.RFldList com.codestreet.messageforge.RFldBeanList
Field Summary | |
protected java.lang.Class |
cls_
|
protected java.util.List |
dataObj_
|
Fields inherited from class com.codestreet.messageforge.RFld |
desc_, fieldId_, locked_, name_, optional_, propertyName_, tags_, transient_, valSet_ |
Constructor Summary | |
RFldBeanList()
|
|
RFldBeanList(java.lang.String name,
int fieldId,
java.lang.String className)
|
|
RFldBeanList(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.util.List |
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.util.List newData)
Set state from a java.util.List. |
RFld |
set(java.lang.Object newData)
Set the value of the field from an Object. |
void |
validate()
Validate against constraints. |
void |
validate(java.util.List 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.util.List dataObj_
protected java.lang.Class cls_
Constructor Detail |
public RFldBeanList()
public RFldBeanList(java.lang.String name, int fieldId, java.lang.String className)
public RFldBeanList(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.util.List 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.List newData) throws FieldValidationException
RFldList
set
in class RFldList
newData
- New 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.util.List newData) throws FieldValidationException
FieldValidationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |