com.codestreet.messageforge
Class RFldList
java.lang.Object
com.codestreet.messageforge.RFld
com.codestreet.messageforge.RFldList
- All Implemented Interfaces:
- RFldInterface, java.io.Serializable
- Direct Known Subclasses:
- RFldBeanList, RFldStringList
- public abstract class RFldList
- extends RFld
Class to represent a list field.
- Author:
- Jawaid Hakim.
- See Also:
- Serialized Form
Constructor Summary |
|
RFldList()
Default constructor. |
protected |
RFldList(java.lang.String name,
int fieldId)
Constructor. |
protected |
RFldList(java.lang.String name,
int fieldId,
java.lang.String desc)
Constructor. |
Method Summary |
abstract RFld |
set(java.util.List newData)
Set state from a java.util.List. |
Methods inherited from class com.codestreet.messageforge.RFld |
addConstraint, buildMinMaxConstraintKey, equals, getConstraint, getConstraintCount, getDesc, getId, getName, getOptional, getPropertyName, getTag, getTags, getTransient, getType, getValueAsString, hashCode, isConstrained, isLocked, isProperty, isValSet, marshal, marshal, reset, set, set, setId, setLocked, setName, setOptional, setPropertyName, setTags, setTransient, setXmlAttrNames, setXmlTags, validate |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
RFldList
public RFldList()
- Default constructor.
RFldList
protected RFldList(java.lang.String name,
int fieldId)
- Constructor.
- Parameters:
name
- Field name.fieldId
- Field id. Field ids must be either 0
to indicate that there is no id on the field, or greater. In addition,
field ids must be unique within a messages - no two fields are allowed
to have the same field id.
RFldList
protected RFldList(java.lang.String name,
int fieldId,
java.lang.String desc)
- Constructor.
- Parameters:
name
- Field name.fieldId
- Field id. Field ids must be either 0
to indicate that there is no id on the field, or greater. In addition,
field ids must be unique within a messages - no two fields are allowed
to have the same field id.desc
- Field description.
set
public abstract RFld set(java.util.List newData)
throws FieldValidationException
- Set state from a java.util.List.
- Parameters:
newData
- New value.
- Returns:
- Reference to self so method chaining can be used.
- Throws:
FieldValidationException
Copyright © 2003-2006 CodeStreet. All Rights Reserved.