Package com.portal.pfc.infranet.datadict
Class DDBase
java.lang.Object
com.portal.pfc.infranet.datadict.DDBase
- All Implemented Interfaces:
IConstants,Comparable
It constructs the required base FList for the storable classes and fields.
It has got a method to sort all the fields available in the data dictionary
in a alphabitical order for the field browser.
Methods are provided in this class which allows a user to extract the required
info of the storable classes and fields that are to be displayed in the
property panel. Some of the methods are over-ridded in the derived classes.
-
Field Summary
FieldsFields inherited from interface com.portal.pfc.infranet.datadict.IConstants
CLS_NAME, FIELD_NOT_FOUND_TYPE, FIELD_NUM, kEditable, kEditableColor, kElementID, kFirstElementID, kHGap, kMagentaColor, kNewObject, kNonExistent, kNotEditableColor, kNumberDDFields, kStringLength, kVGap, PKG_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintSorts the fields available in the data dictionary in the alphabitical order to display them in the field browserprotected FListcreateFList(Poid partialPoid) getFList()getIcon()getLabel()getName()getOrder()getTable()intbooleanisNew()booleanprotected voidsetFieldProperties(Hashtable hashtable) This method is used when the properties of the fields are updatedvoidvoidsetIsNew(boolean isNewDDObj) voidsetIsOpenedForModifications(boolean toModify) toString()
-
Field Details
-
fFlist
-
fNew
protected boolean fNew -
fIsToModify
protected boolean fIsToModify
-
-
Constructor Details
-
DDBase
- Throws:
EBufException
-
DDBase
-
-
Method Details
-
compareTo
Sorts the fields available in the data dictionary in the alphabitical order to display them in the field browser- Specified by:
compareToin interfaceComparable
-
toString
-
isNew
public boolean isNew() -
getName
- Throws:
EBufException
-
getDescription
- Throws:
EBufException
-
getFList
-
setFList
-
createFList
- Throws:
EBufException
-
setFieldProperties
This method is used when the properties of the fields are updated- Throws:
EBufException
-
isOpenedForModifications
public boolean isOpenedForModifications() -
setIsOpenedForModifications
public void setIsOpenedForModifications(boolean toModify) -
setIsNew
public void setIsNew(boolean isNewDDObj) -
getLabel
- Throws:
EBufException
-
getStartSequenceNumber
- Throws:
EBufException
-
getReadAccess
- Throws:
EBufException
-
getWriteAccess
- Throws:
EBufException
-
getNumber
- Throws:
EBufException
-
getTypeIndex
public int getTypeIndex() -
getTypeString
-
getIcon
-
getLength
- Throws:
EBufException
-
getModifyPermission
- Throws:
EBufException
-
getCreatePermission
- Throws:
EBufException
-
getAuditable
- Throws:
EBufException
-
getEncryptable
- Throws:
EBufException
-
getOrder
- Throws:
EBufException
-
getColumn
- Throws:
EBufException
-
getTable
- Throws:
EBufException
-
getStorage
- Throws:
EBufException
-