|
|||||||||
| Home >> All >> com >> flexstor >> ejb >> field >> [ persist overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.flexstor.ejb.field.persist
Class ServerFieldExtendData

java.lang.Objectcom.flexstor.common.data.ejb.Data
com.flexstor.ejb.field.persist.ServerFieldExtendData
- All Implemented Interfaces:
- java.io.Serializable
- public class ServerFieldExtendData
- extends com.flexstor.common.data.ejb.Data
This is the client data object for state information pertaining to a ServerFieldExtend.
- Since:
- FlexDB 3.0
- Version:
- $Id: ServerFieldExtendData.java,v 1.3 2003/08/11 02:22:48 aleric Exp $
| Field Summary | |
protected boolean |
bIsLookup
Defines wether this field is a lookup field or not |
protected int |
dataType
The Data Type |
protected int |
fieldCase
Case of field |
protected java.lang.String |
fieldName
The field name reference for this object |
protected int |
id
Identifier of the field |
static java.lang.String |
IDENTIFIER
|
protected java.lang.String |
label
What did the client name this field |
protected int |
length
length of field |
protected int |
position
Position of this field |
protected java.lang.String |
source
Source of field |
protected boolean |
systemRequired
System Required Field |
protected java.util.Vector |
vProperties
Properties set for this field |
| Fields inherited from class com.flexstor.common.data.ejb.Data |
DELETE, DELETED, derived, htModifiedStates, htOptions, MODIFY, modTime, NEW_ENTRY, presentState, prevState, UNCHANGED, UPDATED, WARN_BEFORE_DELETE |
| Constructor Summary | |
ServerFieldExtendData()
|
|
| Method Summary | |
int |
getDataType()
Returns Field Type. |
int |
getFieldCase()
This will return the case of the field. |
java.lang.String |
getFieldName()
Will get the Name of the field |
int |
getId()
Will get the Id of the field |
java.lang.String |
getLabel()
Will get the Label of the field |
int |
getLength()
Get Length of the field. |
int |
getPosition()
Get the position of this field. |
java.lang.String |
getProperty(java.lang.String sKey)
Return the value for the property specified; if not found, return null |
java.lang.String |
getSource()
Get the source of this field. |
boolean |
isLookup()
Returns true if this is a lookup field |
boolean |
isSystemRequired()
Is this a System Required field. |
void |
setDataType(int type)
Set Field Type - Use the Field Constants in Data Class |
void |
setDataType(java.lang.String type)
Set Field Type - Valid Strings: DATETIME, NUMBER, STRING or UNKNOWN |
void |
setFieldCase(int iCase)
Set case of the field. |
void |
setFieldName(java.lang.String name)
Will set the Name of the field |
void |
setId(int id)
Will set the Id of the field |
void |
setIsLookup(boolean bValue)
Defines if this field is a lookup field or not. |
void |
setLabel(java.lang.String label)
Will set the Label of the field |
void |
setLength(int len)
Set Length of the field Should use one of the field statics in the Data Class |
void |
setPosition(int pos)
Set the position of this field. |
void |
setProperties(java.util.Vector vProps)
Add properties to this object. |
void |
setSource(java.lang.String sS)
Will set the Source |
void |
setSystemRequired(java.lang.String s)
Set System Required Field to true |
| Methods inherited from class com.flexstor.common.data.ejb.Data |
assertEquals, changed, fillCloneInfo, getDateModTime, getModTime, getPresentState, getPreviousState, initializeState, isDeleted, isDerived, isModified, isModified, isObjectPersist, isOptionAllowed, resetModifiedStates, rollBackState, setDeleted, setDerived, setModifiedState, setModTime, setModTime, setNewEntry, setOption, setPerisistState, setPreviousState, setState, setUpdated |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
IDENTIFIER
public static final java.lang.String IDENTIFIER
- See Also:
- Constant Field Values
id
protected int id
- Identifier of the field
- Since:
- FlexDB 3.0
label
protected java.lang.String label
- What did the client name this field
- Since:
- FlexDB 3.0
- See Also:
java.util.String
position
protected int position
- Position of this field
- Since:
- FlexDB 3.0
- See Also:
java.util.String
length
protected int length
- length of field
- Since:
- FlexDB 3.0
fieldName
protected java.lang.String fieldName
- The field name reference for this object
- Since:
- FlexDB 3.0
dataType
protected int dataType
- The Data Type
- Since:
- FlexDB 3.0
- See Also:
- java.util.Vector
bIsLookup
protected boolean bIsLookup
- Defines wether this field is a lookup field or not
systemRequired
protected boolean systemRequired
- System Required Field
fieldCase
protected int fieldCase
- Case of field
source
protected java.lang.String source
- Source of field
vProperties
protected java.util.Vector vProperties
- Properties set for this field
| Constructor Detail |
ServerFieldExtendData
public ServerFieldExtendData()
| Method Detail |
getId
public int getId()
- Will get the Id of the field
- Since:
- FlexDB 3.0
setId
public void setId(int id)
- Will set the Id of the field
- Since:
- FlexDB 3.0
getLabel
public java.lang.String getLabel()
- Will get the Label of the field
- Since:
- FlexDB 3.0
setLabel
public void setLabel(java.lang.String label)
- Will set the Label of the field
- Since:
- FlexDB 3.0
getPosition
public int getPosition()
- Get the position of this field.
- Since:
- FlexDB 3.0
setPosition
public void setPosition(int pos)
- Set the position of this field.
- Since:
- FlexDB 3.0
getFieldName
public java.lang.String getFieldName()
- Will get the Name of the field
- Since:
- FlexDB 3.0
setFieldName
public void setFieldName(java.lang.String name)
- Will set the Name of the field
- Since:
- FlexDB 3.0
getSource
public java.lang.String getSource()
- Get the source of this field.
- Since:
- FlexDB 3.0
setSource
public void setSource(java.lang.String sS)
- Will set the Source
- Since:
- FlexDB 3.0
getLength
public int getLength()
- Get Length of the field.
- Since:
- FlexDB 3.0
setLength
public void setLength(int len)
- Set Length of the field
Should use one of the field statics in
the Data Class
- Since:
- FlexDB 3.0
getDataType
public int getDataType()
- Returns Field Type. See the static
field types in this document for explanation.
- Since:
- FlexDB 3.0
setDataType
public void setDataType(int type)
- Set Field Type - Use the Field Constants
in Data Class
- Since:
- FlexDB 3.0
setDataType
public void setDataType(java.lang.String type)
- Set Field Type - Valid Strings:
DATETIME, NUMBER, STRING or UNKNOWN- Since:
- FlexDB 3.0
getFieldCase
public int getFieldCase()
- This will return the case of the field.
See the static definitions in this document
for explanation.
- Since:
- FlexDB 3.0
setFieldCase
public void setFieldCase(int iCase)
- Set case of the field. Use the constants from Data Class.
- Since:
- FlexDB 3.0
isSystemRequired
public boolean isSystemRequired()
- Is this a System Required field.
- Since:
- FlexDB 3.0
setSystemRequired
public void setSystemRequired(java.lang.String s)
- Set System Required Field to true
- Since:
- FlexDB 3.0
setIsLookup
public void setIsLookup(boolean bValue)
- Defines if this field is a lookup field or not.
This value is extracted from the LookupData object
stored in the FieldData.
isLookup
public boolean isLookup()
- Returns true if this is a lookup field
setProperties
public void setProperties(java.util.Vector vProps)
- Add properties to this object.
getProperty
public java.lang.String getProperty(java.lang.String sKey)
- Return the value for the property specified; if not found, return null
|
|||||||||
| Home >> All >> com >> flexstor >> ejb >> field >> [ persist overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC