Package com.portal.pfc.infranet.datadict
Class DDClassField
java.lang.Object
com.portal.pfc.infranet.datadict.DDBase
com.portal.pfc.infranet.datadict.DDField
com.portal.pfc.infranet.datadict.DDClassField
- All Implemented Interfaces:
IConstants
,Transferable
,Serializable
,Cloneable
,Comparable
- See Also:
-
Field Summary
Fields inherited from class com.portal.pfc.infranet.datadict.DDBase
fFlist, fIsToModify, fNew
Fields 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
ConstructorsConstructorDescriptionDDClassField
(FList list, boolean newClassOrField) DDClassField
(DDField item) -
Method Summary
Modifier and TypeMethodDescriptionclone()
getLabel()
getOrder()
getTable()
getTransferData
(DataFlavor flavor) int
boolean
Varifies whether the passed in DDClassField is to be managed by systemboolean
isDataFlavorSupported
(DataFlavor flavor) boolean
boolean
Varifies whether the passed in DDClassField is a mandatory field for thisDDClass
classboolean
static void
setHashMap
(HashMap map) void
setIsMandatoryField
(boolean mandatoryFld) void
setToBeDefinedBySystem
(boolean systemFld) void
updateFList
(Hashtable hashtable) Methods inherited from class com.portal.pfc.infranet.datadict.DDField
createFieldArray, createIconArray, createJavaTypeArray, createTypeArray, customField, generateCHeaderfileEntry, generateJavaFldFile, generateJavaPropertiesEntry, getIcon, getIcon, getJavaClassName, getJavaTypeString, getTypeIndex, getTypeString, getTypeString
Methods inherited from class com.portal.pfc.infranet.datadict.DDBase
compareTo, createFList, getDescription, getFList, getName, getReadAccess, getStartSequenceNumber, getWriteAccess, isNew, isOpenedForModifications, setFieldProperties, setFList, setIsNew, setIsOpenedForModifications, toString
-
Constructor Details
-
DDClassField
- Throws:
EBufException
-
DDClassField
- Throws:
EBufException
-
-
Method Details
-
setHashMap
-
clone
- Overrides:
clone
in classDDField
- Throws:
CloneNotSupportedException
-
setToBeDefinedBySystem
public void setToBeDefinedBySystem(boolean systemFld) -
isToBeDefinedBySystem
public boolean isToBeDefinedBySystem() -
setIsMandatoryField
public void setIsMandatoryField(boolean mandatoryFld) -
isMandatoryField
public boolean isMandatoryField() -
getTransferDataFlavors
- Specified by:
getTransferDataFlavors
in interfaceTransferable
-
isDataFlavorSupported
- Specified by:
isDataFlavorSupported
in interfaceTransferable
-
getTransferData
- Specified by:
getTransferData
in interfaceTransferable
- Throws:
UnsupportedFlavorException
IOException
-
getTypeIndex
public int getTypeIndex()- Overrides:
getTypeIndex
in classDDField
-
getNumber
- Overrides:
getNumber
in classDDField
- Throws:
EBufException
-
getLength
- Overrides:
getLength
in classDDBase
- Throws:
EBufException
-
getModifyPermission
- Overrides:
getModifyPermission
in classDDBase
- Throws:
EBufException
-
getCreatePermission
- Overrides:
getCreatePermission
in classDDBase
- Throws:
EBufException
-
getAuditable
- Overrides:
getAuditable
in classDDBase
- Throws:
EBufException
-
getEncryptable
- Overrides:
getEncryptable
in classDDBase
- Throws:
EBufException
-
getOrder
- Overrides:
getOrder
in classDDBase
- Throws:
EBufException
-
getLabel
- Overrides:
getLabel
in classDDBase
- Throws:
EBufException
-
getColumn
- Overrides:
getColumn
in classDDBase
- Throws:
EBufException
-
getTable
- Overrides:
getTable
in classDDBase
- Throws:
EBufException
-
getStorage
- Overrides:
getStorage
in classDDBase
- Throws:
EBufException
-
getDDClassFields
- Throws:
EBufException
-
updateFList
- Throws:
EBufException
-
isASystemManagedFld
Varifies whether the passed in DDClassField is to be managed by system- Parameters:
classFieldObj
- Object ofDDClassField
which is to be varified whether it is to be managed by system- Returns:
- Returns
true
if the passed in object ofDDClassField
is to be managed by system;flase
otherwise - Throws:
EBufException
- JAVAPCM API's EBufException is thrown
-
isThisAMandatoryField
Varifies whether the passed in DDClassField is a mandatory field for thisDDClass
class- Parameters:
classFieldObj
- Object ofDDClassField
which is to be varified whether it is a mandatory field for this class- Returns:
- Returns
true
if the passed in object ofDDClassField
is a mandatory field for this class;flase
otherwise - Throws:
EBufException
- JAVAPCM API's EBufException is thrown
-