|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--org.openeai.config.Field
This object represents a single field in the EnterpriseObjects documents. It wraps the information found in that document for a given field in to a Java object. These objects are then stored in the EnterpriseFields java object and are used to apply various business rules to values being set on specific instance variables within an organization's Message Object API. This is accomplished through the EnterpriseFormatter object which contains, Scrubbers, Translators etc.
EnterpriseFields,
EnterpriseFormatter| Constructor Summary | |
Field()
Constructor |
|
| Method Summary | |
java.lang.String |
getFieldName()
Returns the name of the field. |
EnterpriseFormatter |
getFormatter()
Returns the EnterpriseFormatter associated to this Field. |
java.lang.String |
getParentObjectName()
Returns the name of the Field's parent object. |
boolean |
isKey()
Returns a flag indicating if this field is part of the parent object's key information. |
boolean |
isRequired()
Convenience method that uses the EnterpriseFormatter associated to this field to determine if this Field is a required field. |
void |
setFieldName(java.lang.String name)
Sets the name of the field. |
void |
setFormatter(EnterpriseFormatter formatter)
Sets the EnterpriseFormatter associated to this Field. |
void |
setIsKey(boolean isKey)
Sets the flag that indicates if this field is a part of the parent object's key information. |
void |
setParentObjectName(java.lang.String name)
Sets the name of the Field's parent object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Field()
| Method Detail |
public boolean isKey()
public void setIsKey(boolean isKey)
public void setFieldName(java.lang.String name)
public java.lang.String getFieldName()
public void setParentObjectName(java.lang.String name)
public java.lang.String getParentObjectName()
public EnterpriseFormatter getFormatter()
EnterpriseFormatterpublic void setFormatter(EnterpriseFormatter formatter)
EnterpriseFields,
EnterpriseFormatterpublic boolean isRequired()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||