Class Block
- All Implemented Interfaces:
JdapiObject
In some cases, using methods on this class may result in a
JdapiIllegalStateException being thrown. When this happens, you are using
an object that refers to a Forms object that has been deleted - your
reference is no longer valid. You can check if an instance of this
class is valid by using the isValidFormsObject() method.
If you code correctly, this should not happen. It will tend to happen
if you keep references (for extended periods) to Forms objects rather
than look them up dynamically. Of course you will only have this
problem if you destroy Forms objects.
- See Also:
-
BaseAPI
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ObjectClient info object held against this Forms object.protected longThis is the d2fob pointer in the C ifjapi60 for the object that is derived from this class.Fields inherited from interface oracle.forms.jdapi.JdapiObject
PROPERTY_DEFAULT_VALUE, PROPERTY_INHERITED_VALUE, PROPERTY_OVERRIDDEN_DEFAULT_VALUE, PROPERTY_OVERRIDDEN_INHERITED_VALUE, PROPERTY_STATE_UNKNOWN -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBlock(long pd2fblk) Protected constructor, used internally to create Block objects.Block(FormModule parent, String name) Constructor used to create Block objects in the context of a FormModule parent object.Block(FormModule parent, String name, Block base) Constructor used to create Block objects in the context of a FormModule parent object.Block(FormModule parent, String name, PropertyClass base) Constructor used to create Block objects in the context of a FormModule parent object.Block(ObjectLibrary olb, ObjectLibraryTab tab, String name) Constructor used to create Block objects in the context of an ObjectLibraryTab parent object.Block(ObjectLibrary olb, ObjectLibraryTab tab, String name, Block base) Constructor used to create Block objects in the context of an ObjectLibraryTab parent object.Block(ObjectLibrary olb, ObjectLibraryTab tab, String name, PropertyClass base) Constructor used to create Block objects in the context of an ObjectLibraryTab parent object. -
Method Summary
Modifier and TypeMethodDescriptionvoidchangeOwner(JdapiObject newOwner) Assigns a new owner to the referred object.protected voidUsed internally to flag this object as an invalid object.clone(FormModule parent, String newName) Creates a copy of the object as a child of 'parent'clone(JdapiObject parent, String newName) Creates a clone of the specified object, creating a new object with the given name and owner.clone(ObjectLibraryTab parent, String newName) Creates a copy of the object as a child of 'parent'createSubclassedChild(JdapiObject childOwner, String childName) Subclass the referred object.voiddestroy()Destroys the object - this removes the object from it's context.booleanequals(JdapiObject obj) Compares two objects and determines if they are equal.static Blockfind(FormModule parent, String name) Find an instance of Block that is a child of a FormModule.static Blockfind(ObjectLibraryTab parent, String name) Find an instance of Block that is a child of a ObjectLibraryTab.getAlias()Get text property Alias (ALIAS_PTID).Get text property BackColor (BACK_COLOR_PTID).booleangetBooleanProperty(int propertyTypeId) Retrieves a boolean property from the referred object.getChildObjectProperty(int propertyTypeId) Retrieves child objects for a given property value.Gets the class name of the object.Returns the client info object associated with this Object.Get text property Comment (COMMENT_PTID).Accessor for child DeleteDataSourceArgument objects (DELETE_DATA_SOURCE_ARGUMENT_PTID).Accessor for child DeleteDataSourceColumn objects (DELETE_DATA_SOURCE_COLUMN_PTID).Get text property DeleteProcedureName (DELETE_PROCEDURE_NAME_PTID).intGet number property DMLArraySize (DML_ARRAY_SIZE_PTID).Get text property DMLDataName (DML_DATA_NAME_PTID).intGet number property DMLDataType (DML_DATA_TYPE_PTID).Get text property FillPattern (FILL_PATTERN_PTID).Get text property ForegroundColor (FOREGROUND_COLOR_PTID).Accessor for child InsertDataSourceArgument objects (INSERT_DATA_SOURCE_ARGUMENT_PTID).Accessor for child InsertDataSourceColumn objects (INSERT_DATA_SOURCE_COLUMN_PTID).Get text property InsertProcedureName (INSERT_PROCEDURE_NAME_PTID).intgetIntegerProperty(int propertyTypeId) Retrieves an integer property from the referred object.getIntegerPropertyString(int propertyTypeId) Gets a numeric (long) property value's text representation.getItems()Accessor for child Item objects (ITEM_PTID).Gets the metadata object for the specified object.intGet number property KeyMode (KEY_MODE_PTID).intGet number property LanguageDirection (LANGUAGE_DIRECTION_PTID).Accessor for child LockDataSourceArgument objects (LOCK_DATA_SOURCE_ARGUMENT_PTID).Accessor for child LockDataSourceColumn objects (LOCK_DATA_SOURCE_COLUMN_PTID).intGet number property LockMode (LOCK_MODE_PTID).Get text property LockProcedureName (LOCK_PROCEDURE_NAME_PTID).intGet number property MaximumQueryTime (MAXIMUM_QUERY_TIME_PTID).intGet number property MaximumRecordsDisplay (MAXIMUM_RECORDS_DISPLAY_PTID).intGet number property MaximumRecordsFetched (MAXIMUM_RECORDS_FETCHED_PTID).Return an iterator over the meta properties in object referred.Get object property Module (MODULE_PTID).getName()Get text property Name (NAME_PTID).intGet number property NavigationStyle (NAVIGATION_STYLE_PTID).Get text property NextNavigationBlockName (NEXT_NAVIGATION_BLOCK_NAME_PTID).Get object property NextNavigationBlockObject (NEXT_NAVIGATION_BLOCK_OBJECT_PTID).protected longGets the Forms API pointer for this object.getObjectProperty(int propertyTypeId) Retrieves aJdapiObjectproperty from the referred object.protected longgetObjProp(int propertyTypeId) Internal method used to get an object property value.Get text property OptionHint (OPTION_HINT_PTID).Get text property OrderByClause (ORDER_BY_CLAUSE_PTID).Get the object instances owned by this particular object.getOwner()Get object property Owner (OWNER_PTID).Get text property ParentFilename (PARENT_FILENAME_PTID).Get text property ParentFilepath (PARENT_FILEPATH_PTID).Get text property ParentModule (PARENT_MODULE_PTID).intGet number property ParentModuleType (PARENT_MODULETYPE_PTID).Get text property ParentName (PARENT_NAME_PTID).intGet number property ParentType (PARENT_TYPE_PTID).Returns the persistent client info Blob associated with this object.intGet number property PersistentClientInfoLength (PERSISTENT_CLIENT_INFO_LENGTH_PTID).Returns the persistent client info Java object associated with this object.Get text property PreviousNavigationBlockName (PREVIOUS_NAVIGATION_BLOCK_NAME_PTID).Get object property PreviousNavigationBlockObject (PREVIOUS_NAVIGATION_BLOCK_OBJECT_PTID).intgetPropertyState(int propertyTypeId) Returns the current state of the specified property.getPropertyValueName(int propertyTypeId, int val) Gets the string representation of a given property's value.getQualifiedName(boolean includeModule) Gets a fully qualified name for the object in the format of: MODULE.OBJECT.CHILD.CHILD...Accessor for child QueryDataSourceArgument objects (QUERY_DATA_SOURCE_ARGUMENT_PTID).Accessor for child QueryDataSourceColumn objects (QUERY_DATA_SOURCE_COLUMN_PTID).Get text property QueryDataSourceName (QUERY_DATA_SOURCE_NAME_PTID).intGet number property QueryDataSourceType (QUERY_DATA_SOURCE_TYPE_PTID).intGet number property RecordOrientation (RECORD_ORIENTATION_PTID).intGet number property RecordsBufferedCount (RECORDS_BUFFERED_COUNT_PTID).intGet number property RecordsDisplayCount (RECORDS_DISPLAY_COUNT_PTID).intGet number property RecordsFetchedCount (RECORDS_FETCHED_COUNT_PTID).Get text property RecordVisualAttributeGroupName (RECORD_VISUALATTRIBUTE_GROUP_NAME_PTID).Get object property RecordVisualAttributeGroupObject (RECORD_VISUALATTRIBUTE_GROUP_OBJECT_PTID).Accessor for child Relation objects (RELATION_PTID).intGet number property RowBandingFreq (ROW_BANDING_FREQ_PTID).Get text property ScrollbarCanvasName (SCROLLBAR_CANVAS_NAME_PTID).Get object property ScrollbarCanvasObject (SCROLLBAR_CANVAS_OBJECT_PTID).intGet number property ScrollbarLength (SCROLLBAR_LENGTH_PTID).intGet number property ScrollbarOrientation (SCROLLBAR_ORIENTATION_PTID).Get text property ScrollbarTabPageName (SCROLLBAR_TABPAGE_NAME_PTID).Get object property ScrollbarTabPageObject (SCROLLBAR_TABPAGE_OBJECT_PTID).intGet number property ScrollbarWidth (SCROLLBAR_WIDTH_PTID).intGet number property ScrollbarXPosition (SCROLLBAR_X_POSITION_PTID).intGet number property ScrollbarYPosition (SCROLLBAR_Y_POSITION_PTID).Get object property Source (SOURCE_PTID).intgetStringIDProperty(int propertyTypeId) Retrieves a special String ID (integer) property from the referred object.getStringProperty(int propertyTypeId) Retrieves a string property from the referred object.Get Source (SOURCE_PTID) object property, i.e.intGet number property TileDistance (TILE_DISTANCE_PTID).intGet number property TileRecords (TILE_RECORDS_PTID).Accessor for child Trigger objects (TRIGGER_PTID).intGets the HtmlForms object type ID.Accessor for child UpdateDataSourceArgument objects (UPDATE_DATA_SOURCE_ARGUMENT_PTID).Accessor for child UpdateDataSourceColumn objects (UPDATE_DATA_SOURCE_COLUMN_PTID).Get text property UpdateProcedureName (UPDATE_PROCEDURE_NAME_PTID).Get text property VisualAttributeName (VISUALATTRIBUTE_NAME_PTID).Get object property VisualAttributeObject (VISUALATTRIBUTE_OBJECT_PTID).Get text property WhereClause (WHERE_CLAUSE_PTID).booleanhasDefaultedProperty(int propertyTypeId) Checks if a property is set to it's default value.booleanhasInheritedProperty(int propertyTypeId) Checks if a property is inherited.booleanhasOverriddenProperty(int propertyTypeId) Determine whether the object referred has a property of the given type id with an overridden value.booleanhasProperty(int propertyTypeId) Checks if the object has a given property.voidinheritProperty(int propertyTypeId) Resets a property to it's default value (confusing name eh?).booleanGet boolean property AutoSizeBlock (AUTO_SIZE_BLOCK_PTID).booleanGet boolean property DatabaseBlock (DATABASE_BLOCK_PTID).booleanGet boolean property DeleteAllowed (DELETE_ALLOWED_PTID).booleanGet boolean property DirtyInfo (DIRTY_INFO_PTID).booleanGet boolean property DMLReturnValue (DML_RETURN_VALUE_PTID).booleanGet boolean property EnforcedColumnSecurity (ENFORCED_COLUMN_SECURITY_PTID).booleanGet boolean property EnforcedPrimaryKey (ENFORCED_PRIMARY_KEY_PTID).booleanGet boolean property IncludeRefitem (INCLUDE_REFITEM_PTID).booleanGet boolean property InsertAllowed (INSERT_ALLOWED_PTID).booleanGet boolean property PrecompSummary (PRECOMP_SUMMARY_PTID).booleanGet boolean property QueryAllowed (QUERY_ALLOWED_PTID).booleanGet boolean property QueryAllRecords (QUERY_ALL_RECORDS_PTID).booleanGet boolean property ReverseDirection (REVERSE_DIRECTION_PTID).booleanGet boolean property ShowScrollbar (SHOW_SCROLLBAR_PTID).booleanGet boolean property SingleRecord (SINGLE_RECORD_PTID).booleanChecks if the object is subclassed from another object.booleanGet boolean property SubclassObjectGroup (SUBCLASS_OBJECTGROUP_PTID).booleanGet boolean property UpdateAllowed (UPDATE_ALLOWED_PTID).booleanGet boolean property UpdateChangedColumns (UPDATE_CHANGED_COLUMNS_PTID).booleanDetermines whether this Java instance references a valid Forms object.voidmove(JdapiObject next) Reorders an object with respect to its siblings in the collection it belongs to.intReturns the FormAPI object type ID (x_OTIDinJdapiTypes).voidreattach()Reattaches subclassed object.voidSets text property Alias (ALIAS_PTID).voidsetAutoSizeBlock(boolean value) Sets boolean property AutoSizeBlock (AUTO_SIZE_BLOCK_PTID).voidsetBackColor(String value) Sets text property BackColor (BACK_COLOR_PTID).voidsetBooleanProperty(int propertyTypeId, boolean propertyValue) Sets the value of the specified boolean property belonging to the referred object.voidsetClientInfo(Object clientInfo) Sets the client information.voidsetComment(String value) Sets text property Comment (COMMENT_PTID).voidsetDatabaseBlock(boolean value) Sets boolean property DatabaseBlock (DATABASE_BLOCK_PTID).voidsetDeleteAllowed(boolean value) Sets boolean property DeleteAllowed (DELETE_ALLOWED_PTID).voidsetDeleteProcedureName(String value) Sets text property DeleteProcedureName (DELETE_PROCEDURE_NAME_PTID).voidsetDirtyInfo(boolean value) Sets boolean property DirtyInfo (DIRTY_INFO_PTID).voidsetDMLArraySize(int value) Sets number property DMLArraySize (DML_ARRAY_SIZE_PTID).voidsetDMLDataName(String value) Sets text property DMLDataName (DML_DATA_NAME_PTID).voidsetDMLDataType(int value) Sets number property DMLDataType (DML_DATA_TYPE_PTID).voidsetDMLReturnValue(boolean value) Sets boolean property DMLReturnValue (DML_RETURN_VALUE_PTID).voidsetEnforcedColumnSecurity(boolean value) Sets boolean property EnforcedColumnSecurity (ENFORCED_COLUMN_SECURITY_PTID).voidsetEnforcedPrimaryKey(boolean value) Sets boolean property EnforcedPrimaryKey (ENFORCED_PRIMARY_KEY_PTID).voidsetFillPattern(String value) Sets text property FillPattern (FILL_PATTERN_PTID).voidsetForegroundColor(String value) Sets text property ForegroundColor (FOREGROUND_COLOR_PTID).voidsetIncludeRefitem(boolean value) Sets boolean property IncludeRefitem (INCLUDE_REFITEM_PTID).voidsetInsertAllowed(boolean value) Sets boolean property InsertAllowed (INSERT_ALLOWED_PTID).voidsetInsertProcedureName(String value) Sets text property InsertProcedureName (INSERT_PROCEDURE_NAME_PTID).voidsetIntegerProperty(int propertyTypeId, int propertyValue) Sets the value of the specified object integer property.voidsetKeyMode(int value) Sets number property KeyMode (KEY_MODE_PTID).voidsetLanguageDirection(int value) Sets number property LanguageDirection (LANGUAGE_DIRECTION_PTID).voidsetLockMode(int value) Sets number property LockMode (LOCK_MODE_PTID).voidsetLockProcedureName(String value) Sets text property LockProcedureName (LOCK_PROCEDURE_NAME_PTID).voidsetMaximumQueryTime(int value) Sets number property MaximumQueryTime (MAXIMUM_QUERY_TIME_PTID).voidsetMaximumRecordsDisplay(int value) Sets number property MaximumRecordsDisplay (MAXIMUM_RECORDS_DISPLAY_PTID).voidsetMaximumRecordsFetched(int value) Sets number property MaximumRecordsFetched (MAXIMUM_RECORDS_FETCHED_PTID).voidSets text property Name (NAME_PTID).voidsetNavigationStyle(int value) Sets number property NavigationStyle (NAVIGATION_STYLE_PTID).voidsetNextNavigationBlockName(String value) Sets text property NextNavigationBlockName (NEXT_NAVIGATION_BLOCK_NAME_PTID).voidSet object property NextNavigationBlockObject (NEXT_NAVIGATION_BLOCK_OBJECT_PTID).voidsetObjectProperty(int propertyTypeId, JdapiObject propertyValue) Sets the value of the specified object object property value.protected voidsetObjProp(int propertyTypeId, long val) Internal method used to set an object property.voidsetOptionHint(String value) Sets text property OptionHint (OPTION_HINT_PTID).voidsetOrderByClause(String value) Sets text property OrderByClause (ORDER_BY_CLAUSE_PTID).voidsetParentFilename(String value) Sets text property ParentFilename (PARENT_FILENAME_PTID).voidsetParentFilepath(String value) Sets text property ParentFilepath (PARENT_FILEPATH_PTID).voidsetParentModule(String value) Sets text property ParentModule (PARENT_MODULE_PTID).voidsetParentModuleType(int value) Sets number property ParentModuleType (PARENT_MODULETYPE_PTID).voidsetParentName(String value) Sets text property ParentName (PARENT_NAME_PTID).voidsetParentType(int value) Sets number property ParentType (PARENT_TYPE_PTID).voidSerializes any Java object which supports the Serializable interface to this object's Persistent Client Info.voidSets persistent client info for this object.voidsetPersistentClientInfoLength(int value) Sets number property PersistentClientInfoLength (PERSISTENT_CLIENT_INFO_LENGTH_PTID).voidsetPrecompSummary(boolean value) Sets boolean property PrecompSummary (PRECOMP_SUMMARY_PTID).voidSets text property PreviousNavigationBlockName (PREVIOUS_NAVIGATION_BLOCK_NAME_PTID).voidSet object property PreviousNavigationBlockObject (PREVIOUS_NAVIGATION_BLOCK_OBJECT_PTID).voidsetQueryAllowed(boolean value) Sets boolean property QueryAllowed (QUERY_ALLOWED_PTID).voidsetQueryAllRecords(boolean value) Sets boolean property QueryAllRecords (QUERY_ALL_RECORDS_PTID).voidsetQueryDataSourceName(String value) Sets text property QueryDataSourceName (QUERY_DATA_SOURCE_NAME_PTID).voidsetQueryDataSourceType(int value) Sets number property QueryDataSourceType (QUERY_DATA_SOURCE_TYPE_PTID).voidsetRecordOrientation(int value) Sets number property RecordOrientation (RECORD_ORIENTATION_PTID).voidsetRecordsBufferedCount(int value) Sets number property RecordsBufferedCount (RECORDS_BUFFERED_COUNT_PTID).voidsetRecordsDisplayCount(int value) Sets number property RecordsDisplayCount (RECORDS_DISPLAY_COUNT_PTID).voidsetRecordsFetchedCount(int value) Sets number property RecordsFetchedCount (RECORDS_FETCHED_COUNT_PTID).voidSets text property RecordVisualAttributeGroupName (RECORD_VISUALATTRIBUTE_GROUP_NAME_PTID).voidSet object property RecordVisualAttributeGroupObject (RECORD_VISUALATTRIBUTE_GROUP_OBJECT_PTID).voidsetReverseDirection(boolean value) Sets boolean property ReverseDirection (REVERSE_DIRECTION_PTID).voidsetRowBandingFreq(int value) Sets number property RowBandingFreq (ROW_BANDING_FREQ_PTID).voidsetScrollbarCanvasName(String value) Sets text property ScrollbarCanvasName (SCROLLBAR_CANVAS_NAME_PTID).voidsetScrollbarCanvasObject(Canvas value) Set object property ScrollbarCanvasObject (SCROLLBAR_CANVAS_OBJECT_PTID).voidsetScrollbarLength(int value) Sets number property ScrollbarLength (SCROLLBAR_LENGTH_PTID).voidsetScrollbarOrientation(int value) Sets number property ScrollbarOrientation (SCROLLBAR_ORIENTATION_PTID).voidsetScrollbarTabPageName(String value) Sets text property ScrollbarTabPageName (SCROLLBAR_TABPAGE_NAME_PTID).voidsetScrollbarTabPageObject(TabPage value) Set object property ScrollbarTabPageObject (SCROLLBAR_TABPAGE_OBJECT_PTID).voidsetScrollbarWidth(int value) Sets number property ScrollbarWidth (SCROLLBAR_WIDTH_PTID).voidsetScrollbarXPosition(int value) Sets number property ScrollbarXPosition (SCROLLBAR_X_POSITION_PTID).voidsetScrollbarYPosition(int value) Sets number property ScrollbarYPosition (SCROLLBAR_Y_POSITION_PTID).voidsetShowScrollbar(boolean value) Sets boolean property ShowScrollbar (SHOW_SCROLLBAR_PTID).voidsetSingleRecord(boolean value) Sets boolean property SingleRecord (SINGLE_RECORD_PTID).voidsetStringProperty(int propertyTypeId, String propertyValue) Sets the value of the specified string property for the object.voidsetSubclassObjectGroup(boolean value) Sets boolean property SubclassObjectGroup (SUBCLASS_OBJECTGROUP_PTID).voidsetSubclassParent(JdapiObject parent) Change the subclassing parent of the object referred.voidsetTileDistance(int value) Sets number property TileDistance (TILE_DISTANCE_PTID).voidsetTileRecords(int value) Sets number property TileRecords (TILE_RECORDS_PTID).voidsetUpdateAllowed(boolean value) Sets boolean property UpdateAllowed (UPDATE_ALLOWED_PTID).voidsetUpdateChangedColumns(boolean value) Sets boolean property UpdateChangedColumns (UPDATE_CHANGED_COLUMNS_PTID).voidsetUpdateProcedureName(String value) Sets text property UpdateProcedureName (UPDATE_PROCEDURE_NAME_PTID).voidsetVisualAttributeName(String value) Sets text property VisualAttributeName (VISUALATTRIBUTE_NAME_PTID).voidSet object property VisualAttributeObject (VISUALATTRIBUTE_OBJECT_PTID).voidsetWhereClause(String value) Sets text property WhereClause (WHERE_CLAUSE_PTID).toString()Converts and returns the object properties to string format.voidRemove the subclassing parent of the object referred.
-
Field Details
-
m_pd2fob
protected transient long m_pd2fobThis is the d2fob pointer in the C ifjapi60 for the object that is derived from this class. -
m_clientInfo
Client info object held against this Forms object.
-
-
Constructor Details
-
Block
Constructor used to create Block objects in the context of a FormModule parent object.- Parameters:
parent- Parent objectname- Name of the new object
-
Block
Constructor used to create Block objects in the context of a FormModule parent object. The newly created object is derived from the 'base' object.- Parameters:
parent- Parent objectname- Name of the new objectbase- Block object to derive from
-
Block
Constructor used to create Block objects in the context of a FormModule parent object. The newly created object is derived from the 'base' PropertyClass.- Parameters:
parent- Parent objectname- Name of the new objectbase- PropertyClass object to derive from
-
Block
Constructor used to create Block objects in the context of an ObjectLibraryTab parent object.- Parameters:
olb- The ObjectLibrary module to create this object intab- The tab in the passed ObjectLibrary to attach the new object toname- Name of the new object
-
Block
Constructor used to create Block objects in the context of an ObjectLibraryTab parent object. The newly created object is derived from the 'base' object.- Parameters:
olb- The ObjectLibrary module to create this object intab- The tab in the passed ObjectLibrary to attach the new object toname- Name of the new objectbase- Block object to derive from
-
Block
Constructor used to create Block objects in the context of an ObjectLibraryTab parent object. The newly created object is derived from the 'base' PropertyClass.- Parameters:
olb- The ObjectLibrary module to create this object intab- The tab in the passed ObjectLibrary to attach the new object toname- Name of the new objectbase- PropertyClass object to derive from
-
Block
protected Block(long pd2fblk) Protected constructor, used internally to create Block objects. This doesn't actually create a new Block, it just creates a Java instance for an already existing Forms object.Do NOT use this constructor, even within the Jdapi package. If you have a pointer and need to instantiate it's Java representation, get the object via the context cache, e.g.
myBaseObject = Jdapi.getObject(myPointer);
- Parameters:
pd2fblk- C pointer to Forms object
-
-
Method Details
-
getTypeId
public int getTypeId()Gets the HtmlForms object type ID.- Specified by:
getTypeIdin interfaceJdapiObject- Returns:
- X_OTID ID for this object type
- See Also:
-
clone
Creates a copy of the object as a child of 'parent'- Parameters:
parent- Parent objectnewName- Name of object that's being created- Returns:
- Replicant object
-
clone
Creates a copy of the object as a child of 'parent'- Parameters:
parent- Parent objectnewName- Name of object that's being created- Returns:
- Replicant object
-
find
Find an instance of Block that is a child of a FormModule.- Parameters:
parent- Parent object of object you wish to findname- Name of object you wish to find- Returns:
- Object instance you are looking for, or null if none was found
-
find
Find an instance of Block that is a child of a ObjectLibraryTab.- Parameters:
parent- Parent object of object you wish to findname- Name of object you wish to find- Returns:
- Object instance you are looking for, or null if none was found
-
getAlias
Get text property Alias (ALIAS_PTID).- Returns:
- Value of property
-
setAlias
Sets text property Alias (ALIAS_PTID).- Parameters:
value- Value to set property to
-
getBackColor
Get text property BackColor (BACK_COLOR_PTID).- Returns:
- Value of property
-
setBackColor
Sets text property BackColor (BACK_COLOR_PTID).- Parameters:
value- Value to set property to
-
getComment
Get text property Comment (COMMENT_PTID).- Returns:
- Value of property
-
setComment
Sets text property Comment (COMMENT_PTID).- Parameters:
value- Value to set property to
-
getDeleteProcedureName
Get text property DeleteProcedureName (DELETE_PROCEDURE_NAME_PTID).- Returns:
- Value of property
-
setDeleteProcedureName
Sets text property DeleteProcedureName (DELETE_PROCEDURE_NAME_PTID).- Parameters:
value- Value to set property to
-
getDMLDataName
Get text property DMLDataName (DML_DATA_NAME_PTID).- Returns:
- Value of property. If not set, it returns the value of the QueryDataSourceName property.
-
setDMLDataName
Sets text property DMLDataName (DML_DATA_NAME_PTID).- Parameters:
value- Value to set property to
-
getFillPattern
Get text property FillPattern (FILL_PATTERN_PTID).- Returns:
- Value of property
-
setFillPattern
Sets text property FillPattern (FILL_PATTERN_PTID).- Parameters:
value- Value to set property to
-
getForegroundColor
Get text property ForegroundColor (FOREGROUND_COLOR_PTID).- Returns:
- Value of property
-
setForegroundColor
Sets text property ForegroundColor (FOREGROUND_COLOR_PTID).- Parameters:
value- Value to set property to
-
getInsertProcedureName
Get text property InsertProcedureName (INSERT_PROCEDURE_NAME_PTID).- Returns:
- Value of property
-
setInsertProcedureName
Sets text property InsertProcedureName (INSERT_PROCEDURE_NAME_PTID).- Parameters:
value- Value to set property to
-
getLockProcedureName
Get text property LockProcedureName (LOCK_PROCEDURE_NAME_PTID).- Returns:
- Value of property
-
setLockProcedureName
Sets text property LockProcedureName (LOCK_PROCEDURE_NAME_PTID).- Parameters:
value- Value to set property to
-
getName
Get text property Name (NAME_PTID).- Specified by:
getNamein interfaceJdapiObject- Returns:
- Value of property
-
setName
Sets text property Name (NAME_PTID).- Parameters:
value- Value to set property to
-
getOptionHint
Get text property OptionHint (OPTION_HINT_PTID).- Returns:
- Value of property
-
setOptionHint
Sets text property OptionHint (OPTION_HINT_PTID).- Parameters:
value- Value to set property to
-
getOrderByClause
Get text property OrderByClause (ORDER_BY_CLAUSE_PTID).- Returns:
- Value of property
-
setOrderByClause
Sets text property OrderByClause (ORDER_BY_CLAUSE_PTID).- Parameters:
value- Value to set property to
-
getParentFilename
Get text property ParentFilename (PARENT_FILENAME_PTID).- Returns:
- Value of property
-
setParentFilename
Sets text property ParentFilename (PARENT_FILENAME_PTID).- Parameters:
value- Value to set property to
-
getParentFilepath
Get text property ParentFilepath (PARENT_FILEPATH_PTID).- Returns:
- Value of property
-
setParentFilepath
Sets text property ParentFilepath (PARENT_FILEPATH_PTID).- Parameters:
value- Value to set property to
-
getParentModule
Get text property ParentModule (PARENT_MODULE_PTID).- Returns:
- Value of property
-
setParentModule
Sets text property ParentModule (PARENT_MODULE_PTID).- Parameters:
value- Value to set property to
-
getParentName
Get text property ParentName (PARENT_NAME_PTID).- Returns:
- Value of property
-
setParentName
Sets text property ParentName (PARENT_NAME_PTID).- Parameters:
value- Value to set property to
-
getQueryDataSourceName
Get text property QueryDataSourceName (QUERY_DATA_SOURCE_NAME_PTID).- Returns:
- Value of property
-
setQueryDataSourceName
Sets text property QueryDataSourceName (QUERY_DATA_SOURCE_NAME_PTID).- Parameters:
value- Value to set property to
-
getRecordVisualAttributeGroupName
Get text property RecordVisualAttributeGroupName (RECORD_VISUALATTRIBUTE_GROUP_NAME_PTID).- Returns:
- Value of property
-
setRecordVisualAttributeGroupName
Sets text property RecordVisualAttributeGroupName (RECORD_VISUALATTRIBUTE_GROUP_NAME_PTID).- Parameters:
value- Value to set property to
-
getScrollbarCanvasName
Get text property ScrollbarCanvasName (SCROLLBAR_CANVAS_NAME_PTID).- Returns:
- Value of property
-
setScrollbarCanvasName
Sets text property ScrollbarCanvasName (SCROLLBAR_CANVAS_NAME_PTID).- Parameters:
value- Value to set property to
-
getScrollbarTabPageName
Get text property ScrollbarTabPageName (SCROLLBAR_TABPAGE_NAME_PTID).- Returns:
- Value of property
-
setScrollbarTabPageName
Sets text property ScrollbarTabPageName (SCROLLBAR_TABPAGE_NAME_PTID).- Parameters:
value- Value to set property to
-
getUpdateProcedureName
Get text property UpdateProcedureName (UPDATE_PROCEDURE_NAME_PTID).- Returns:
- Value of property
-
setUpdateProcedureName
Sets text property UpdateProcedureName (UPDATE_PROCEDURE_NAME_PTID).- Parameters:
value- Value to set property to
-
getVisualAttributeName
Get text property VisualAttributeName (VISUALATTRIBUTE_NAME_PTID).- Returns:
- Value of property
-
setVisualAttributeName
Sets text property VisualAttributeName (VISUALATTRIBUTE_NAME_PTID).- Parameters:
value- Value to set property to
-
getWhereClause
Get text property WhereClause (WHERE_CLAUSE_PTID).- Returns:
- Value of property
-
setWhereClause
Sets text property WhereClause (WHERE_CLAUSE_PTID).- Parameters:
value- Value to set property to
-
getDMLArraySize
public int getDMLArraySize()Get number property DMLArraySize (DML_ARRAY_SIZE_PTID).- Returns:
- Value of property
-
setDMLArraySize
public void setDMLArraySize(int value) Sets number property DMLArraySize (DML_ARRAY_SIZE_PTID).- Parameters:
value- Value to set property to
-
getDMLDataType
public int getDMLDataType()Get number property DMLDataType (DML_DATA_TYPE_PTID).- Returns:
- Value of property
-
setDMLDataType
public void setDMLDataType(int value) Sets number property DMLDataType (DML_DATA_TYPE_PTID).- Parameters:
value- Value to set property to
-
getKeyMode
public int getKeyMode()Get number property KeyMode (KEY_MODE_PTID).- Returns:
- Value of property
-
setKeyMode
public void setKeyMode(int value) Sets number property KeyMode (KEY_MODE_PTID).- Parameters:
value- Value to set property to
-
getLanguageDirection
public int getLanguageDirection()Get number property LanguageDirection (LANGUAGE_DIRECTION_PTID).- Returns:
- Value of property
-
setLanguageDirection
public void setLanguageDirection(int value) Sets number property LanguageDirection (LANGUAGE_DIRECTION_PTID).- Parameters:
value- Value to set property to
-
getLockMode
public int getLockMode()Get number property LockMode (LOCK_MODE_PTID).- Returns:
- Value of property
-
setLockMode
public void setLockMode(int value) Sets number property LockMode (LOCK_MODE_PTID).- Parameters:
value- Value to set property to
-
getMaximumQueryTime
public int getMaximumQueryTime()Get number property MaximumQueryTime (MAXIMUM_QUERY_TIME_PTID).- Returns:
- Value of property
-
setMaximumQueryTime
public void setMaximumQueryTime(int value) Sets number property MaximumQueryTime (MAXIMUM_QUERY_TIME_PTID).- Parameters:
value- Value to set property to
-
getMaximumRecordsDisplay
public int getMaximumRecordsDisplay()Get number property MaximumRecordsDisplay (MAXIMUM_RECORDS_DISPLAY_PTID).- Returns:
- Value of property
-
setMaximumRecordsDisplay
public void setMaximumRecordsDisplay(int value) Sets number property MaximumRecordsDisplay (MAXIMUM_RECORDS_DISPLAY_PTID).- Parameters:
value- Value to set property to
-
getMaximumRecordsFetched
public int getMaximumRecordsFetched()Get number property MaximumRecordsFetched (MAXIMUM_RECORDS_FETCHED_PTID).- Returns:
- Value of property
-
setMaximumRecordsFetched
public void setMaximumRecordsFetched(int value) Sets number property MaximumRecordsFetched (MAXIMUM_RECORDS_FETCHED_PTID).- Parameters:
value- Value to set property to
-
getParentModuleType
public int getParentModuleType()Get number property ParentModuleType (PARENT_MODULETYPE_PTID).- Returns:
- Value of property
-
setParentModuleType
public void setParentModuleType(int value) Sets number property ParentModuleType (PARENT_MODULETYPE_PTID).- Parameters:
value- Value to set property to
-
getParentType
public int getParentType()Get number property ParentType (PARENT_TYPE_PTID).- Returns:
- Value of property
-
setParentType
public void setParentType(int value) Sets number property ParentType (PARENT_TYPE_PTID).- Parameters:
value- Value to set property to
-
getPersistentClientInfoLength
public int getPersistentClientInfoLength()Get number property PersistentClientInfoLength (PERSISTENT_CLIENT_INFO_LENGTH_PTID).- Returns:
- Value of property
-
setPersistentClientInfoLength
public void setPersistentClientInfoLength(int value) Sets number property PersistentClientInfoLength (PERSISTENT_CLIENT_INFO_LENGTH_PTID).- Parameters:
value- Value to set property to
-
getQueryDataSourceType
public int getQueryDataSourceType()Get number property QueryDataSourceType (QUERY_DATA_SOURCE_TYPE_PTID).- Returns:
- Value of property
-
setQueryDataSourceType
public void setQueryDataSourceType(int value) Sets number property QueryDataSourceType (QUERY_DATA_SOURCE_TYPE_PTID).- Parameters:
value- Value to set property to
-
getRecordOrientation
public int getRecordOrientation()Get number property RecordOrientation (RECORD_ORIENTATION_PTID).- Returns:
- Value of property
-
setRecordOrientation
public void setRecordOrientation(int value) Sets number property RecordOrientation (RECORD_ORIENTATION_PTID).- Parameters:
value- Value to set property to
-
getRecordsBufferedCount
public int getRecordsBufferedCount()Get number property RecordsBufferedCount (RECORDS_BUFFERED_COUNT_PTID).- Returns:
- Value of property
-
setRecordsBufferedCount
public void setRecordsBufferedCount(int value) Sets number property RecordsBufferedCount (RECORDS_BUFFERED_COUNT_PTID).- Parameters:
value- Value to set property to
-
getRecordsDisplayCount
public int getRecordsDisplayCount()Get number property RecordsDisplayCount (RECORDS_DISPLAY_COUNT_PTID).- Returns:
- Value of property
-
setRecordsDisplayCount
public void setRecordsDisplayCount(int value) Sets number property RecordsDisplayCount (RECORDS_DISPLAY_COUNT_PTID).- Parameters:
value- Value to set property to
-
getRecordsFetchedCount
public int getRecordsFetchedCount()Get number property RecordsFetchedCount (RECORDS_FETCHED_COUNT_PTID).- Returns:
- Value of property
-
setRecordsFetchedCount
public void setRecordsFetchedCount(int value) Sets number property RecordsFetchedCount (RECORDS_FETCHED_COUNT_PTID).- Parameters:
value- Value to set property to
-
getRowBandingFreq
public int getRowBandingFreq()Get number property RowBandingFreq (ROW_BANDING_FREQ_PTID).- Returns:
- Value of property
-
setRowBandingFreq
public void setRowBandingFreq(int value) Sets number property RowBandingFreq (ROW_BANDING_FREQ_PTID).- Parameters:
value- Value to set property to
-
getScrollbarLength
public int getScrollbarLength()Get number property ScrollbarLength (SCROLLBAR_LENGTH_PTID).- Returns:
- Value of property
-
setScrollbarLength
public void setScrollbarLength(int value) Sets number property ScrollbarLength (SCROLLBAR_LENGTH_PTID).- Parameters:
value- Value to set property to
-
getScrollbarOrientation
public int getScrollbarOrientation()Get number property ScrollbarOrientation (SCROLLBAR_ORIENTATION_PTID).- Returns:
- Value of property
-
setScrollbarOrientation
public void setScrollbarOrientation(int value) Sets number property ScrollbarOrientation (SCROLLBAR_ORIENTATION_PTID).- Parameters:
value- Value to set property to
-
getScrollbarWidth
public int getScrollbarWidth()Get number property ScrollbarWidth (SCROLLBAR_WIDTH_PTID).- Returns:
- Value of property
-
setScrollbarWidth
public void setScrollbarWidth(int value) Sets number property ScrollbarWidth (SCROLLBAR_WIDTH_PTID).- Parameters:
value- Value to set property to
-
getScrollbarXPosition
public int getScrollbarXPosition()Get number property ScrollbarXPosition (SCROLLBAR_X_POSITION_PTID).- Returns:
- Value of property
-
setScrollbarXPosition
public void setScrollbarXPosition(int value) Sets number property ScrollbarXPosition (SCROLLBAR_X_POSITION_PTID).- Parameters:
value- Value to set property to
-
getScrollbarYPosition
public int getScrollbarYPosition()Get number property ScrollbarYPosition (SCROLLBAR_Y_POSITION_PTID).- Returns:
- Value of property
-
setScrollbarYPosition
public void setScrollbarYPosition(int value) Sets number property ScrollbarYPosition (SCROLLBAR_Y_POSITION_PTID).- Parameters:
value- Value to set property to
-
getTileDistance
public int getTileDistance()Get number property TileDistance (TILE_DISTANCE_PTID).- Returns:
- Value of property
-
setTileDistance
public void setTileDistance(int value) Sets number property TileDistance (TILE_DISTANCE_PTID).- Parameters:
value- Value to set property to
-
getTileRecords
public int getTileRecords()Get number property TileRecords (TILE_RECORDS_PTID).- Returns:
- Value of property
-
setTileRecords
public void setTileRecords(int value) Sets number property TileRecords (TILE_RECORDS_PTID).- Parameters:
value- Value to set property to
-
isAutoSizeBlock
public boolean isAutoSizeBlock()Get boolean property AutoSizeBlock (AUTO_SIZE_BLOCK_PTID).- Returns:
- Value of property
-
setAutoSizeBlock
public void setAutoSizeBlock(boolean value) Sets boolean property AutoSizeBlock (AUTO_SIZE_BLOCK_PTID).- Parameters:
value- Value to set property to
-
isDatabaseBlock
public boolean isDatabaseBlock()Get boolean property DatabaseBlock (DATABASE_BLOCK_PTID).- Returns:
- Value of property
-
setDatabaseBlock
public void setDatabaseBlock(boolean value) Sets boolean property DatabaseBlock (DATABASE_BLOCK_PTID).- Parameters:
value- Value to set property to
-
isDeleteAllowed
public boolean isDeleteAllowed()Get boolean property DeleteAllowed (DELETE_ALLOWED_PTID).- Returns:
- Value of property
-
setDeleteAllowed
public void setDeleteAllowed(boolean value) Sets boolean property DeleteAllowed (DELETE_ALLOWED_PTID).- Parameters:
value- Value to set property to
-
isDirtyInfo
public boolean isDirtyInfo()Get boolean property DirtyInfo (DIRTY_INFO_PTID).- Returns:
- Value of property
-
setDirtyInfo
public void setDirtyInfo(boolean value) Sets boolean property DirtyInfo (DIRTY_INFO_PTID).- Parameters:
value- Value to set property to
-
isDMLReturnValue
public boolean isDMLReturnValue()Get boolean property DMLReturnValue (DML_RETURN_VALUE_PTID).- Returns:
- Value of property
-
setDMLReturnValue
public void setDMLReturnValue(boolean value) Sets boolean property DMLReturnValue (DML_RETURN_VALUE_PTID).- Parameters:
value- Value to set property to
-
isEnforcedColumnSecurity
public boolean isEnforcedColumnSecurity()Get boolean property EnforcedColumnSecurity (ENFORCED_COLUMN_SECURITY_PTID).- Returns:
- Value of property
-
setEnforcedColumnSecurity
public void setEnforcedColumnSecurity(boolean value) Sets boolean property EnforcedColumnSecurity (ENFORCED_COLUMN_SECURITY_PTID).- Parameters:
value- Value to set property to
-
isEnforcedPrimaryKey
public boolean isEnforcedPrimaryKey()Get boolean property EnforcedPrimaryKey (ENFORCED_PRIMARY_KEY_PTID).- Returns:
- Value of property
-
setEnforcedPrimaryKey
public void setEnforcedPrimaryKey(boolean value) Sets boolean property EnforcedPrimaryKey (ENFORCED_PRIMARY_KEY_PTID).- Parameters:
value- Value to set property to
-
isIncludeRefitem
public boolean isIncludeRefitem()Get boolean property IncludeRefitem (INCLUDE_REFITEM_PTID).- Returns:
- Value of property
-
setIncludeRefitem
public void setIncludeRefitem(boolean value) Sets boolean property IncludeRefitem (INCLUDE_REFITEM_PTID).- Parameters:
value- Value to set property to
-
isInsertAllowed
public boolean isInsertAllowed()Get boolean property InsertAllowed (INSERT_ALLOWED_PTID).- Returns:
- Value of property
-
setInsertAllowed
public void setInsertAllowed(boolean value) Sets boolean property InsertAllowed (INSERT_ALLOWED_PTID).- Parameters:
value- Value to set property to
-
isPrecompSummary
public boolean isPrecompSummary()Get boolean property PrecompSummary (PRECOMP_SUMMARY_PTID).- Returns:
- Value of property
-
setPrecompSummary
public void setPrecompSummary(boolean value) Sets boolean property PrecompSummary (PRECOMP_SUMMARY_PTID).- Parameters:
value- Value to set property to
-
isQueryAllRecords
public boolean isQueryAllRecords()Get boolean property QueryAllRecords (QUERY_ALL_RECORDS_PTID).- Returns:
- Value of property
-
setQueryAllRecords
public void setQueryAllRecords(boolean value) Sets boolean property QueryAllRecords (QUERY_ALL_RECORDS_PTID).- Parameters:
value- Value to set property to
-
isQueryAllowed
public boolean isQueryAllowed()Get boolean property QueryAllowed (QUERY_ALLOWED_PTID).- Returns:
- Value of property
-
setQueryAllowed
public void setQueryAllowed(boolean value) Sets boolean property QueryAllowed (QUERY_ALLOWED_PTID).- Parameters:
value- Value to set property to
-
isReverseDirection
public boolean isReverseDirection()Get boolean property ReverseDirection (REVERSE_DIRECTION_PTID).- Returns:
- Value of property
-
setReverseDirection
public void setReverseDirection(boolean value) Sets boolean property ReverseDirection (REVERSE_DIRECTION_PTID).- Parameters:
value- Value to set property to
-
isShowScrollbar
public boolean isShowScrollbar()Get boolean property ShowScrollbar (SHOW_SCROLLBAR_PTID).- Returns:
- Value of property
-
setShowScrollbar
public void setShowScrollbar(boolean value) Sets boolean property ShowScrollbar (SHOW_SCROLLBAR_PTID).- Parameters:
value- Value to set property to
-
isSingleRecord
public boolean isSingleRecord()Get boolean property SingleRecord (SINGLE_RECORD_PTID).- Returns:
- Value of property
-
setSingleRecord
public void setSingleRecord(boolean value) Sets boolean property SingleRecord (SINGLE_RECORD_PTID).- Parameters:
value- Value to set property to
-
isSubclassObjectGroup
public boolean isSubclassObjectGroup()Get boolean property SubclassObjectGroup (SUBCLASS_OBJECTGROUP_PTID).- Returns:
- Value of property
-
setSubclassObjectGroup
public void setSubclassObjectGroup(boolean value) Sets boolean property SubclassObjectGroup (SUBCLASS_OBJECTGROUP_PTID).- Parameters:
value- Value to set property to
-
isUpdateAllowed
public boolean isUpdateAllowed()Get boolean property UpdateAllowed (UPDATE_ALLOWED_PTID).- Returns:
- Value of property
-
setUpdateAllowed
public void setUpdateAllowed(boolean value) Sets boolean property UpdateAllowed (UPDATE_ALLOWED_PTID).- Parameters:
value- Value to set property to
-
isUpdateChangedColumns
public boolean isUpdateChangedColumns()Get boolean property UpdateChangedColumns (UPDATE_CHANGED_COLUMNS_PTID).- Returns:
- Value of property
-
setUpdateChangedColumns
public void setUpdateChangedColumns(boolean value) Sets boolean property UpdateChangedColumns (UPDATE_CHANGED_COLUMNS_PTID).- Parameters:
value- Value to set property to
-
getDeleteDataSourceArguments
Accessor for child DeleteDataSourceArgument objects (DELETE_DATA_SOURCE_ARGUMENT_PTID). Gets list of child objects as an iterator (which implements Enumeration for simple traversal).- Returns:
- Iterator of DeleteDataSourceArgument objects
-
getDeleteDataSourceColumns
Accessor for child DeleteDataSourceColumn objects (DELETE_DATA_SOURCE_COLUMN_PTID). Gets list of child objects as an iterator (which implements Enumeration for simple traversal).- Returns:
- Iterator of DeleteDataSourceColumn objects
-
getInsertDataSourceArguments
Accessor for child InsertDataSourceArgument objects (INSERT_DATA_SOURCE_ARGUMENT_PTID). Gets list of child objects as an iterator (which implements Enumeration for simple traversal).- Returns:
- Iterator of InsertDataSourceArgument objects
-
getInsertDataSourceColumns
Accessor for child InsertDataSourceColumn objects (INSERT_DATA_SOURCE_COLUMN_PTID). Gets list of child objects as an iterator (which implements Enumeration for simple traversal).- Returns:
- Iterator of InsertDataSourceColumn objects
-
getItems
Accessor for child Item objects (ITEM_PTID). Gets list of child objects as an iterator (which implements Enumeration for simple traversal).- Returns:
- Iterator of Item objects
-
getLockDataSourceArguments
Accessor for child LockDataSourceArgument objects (LOCK_DATA_SOURCE_ARGUMENT_PTID). Gets list of child objects as an iterator (which implements Enumeration for simple traversal).- Returns:
- Iterator of LockDataSourceArgument objects
-
getLockDataSourceColumns
Accessor for child LockDataSourceColumn objects (LOCK_DATA_SOURCE_COLUMN_PTID). Gets list of child objects as an iterator (which implements Enumeration for simple traversal).- Returns:
- Iterator of LockDataSourceColumn objects
-
getModule
Get object property Module (MODULE_PTID). The return value may be an instance of: MenuModule ObjectLibrary FormModule- Specified by:
getModulein interfaceJdapiObject- Returns:
- Value of property downcast to a JdapiObject (null if none)
-
getOwner
Get object property Owner (OWNER_PTID). The return value may be an instance of: ObjectGroup FormModule ObjectLibraryTab- Specified by:
getOwnerin interfaceJdapiObject- Returns:
- Value of property downcast to a JdapiObject (null if none)
-
getQueryDataSourceArguments
Accessor for child QueryDataSourceArgument objects (QUERY_DATA_SOURCE_ARGUMENT_PTID). Gets list of child objects as an iterator (which implements Enumeration for simple traversal).- Returns:
- Iterator of QueryDataSourceArgument objects
-
getQueryDataSourceColumns
Accessor for child QueryDataSourceColumn objects (QUERY_DATA_SOURCE_COLUMN_PTID). Gets list of child objects as an iterator (which implements Enumeration for simple traversal).- Returns:
- Iterator of QueryDataSourceColumn objects
-
getRecordVisualAttributeGroupObject
Get object property RecordVisualAttributeGroupObject (RECORD_VISUALATTRIBUTE_GROUP_OBJECT_PTID).- Returns:
- Value of property (null if none)
-
setRecordVisualAttributeGroupObject
Set object property RecordVisualAttributeGroupObject (RECORD_VISUALATTRIBUTE_GROUP_OBJECT_PTID).- Parameters:
value- VisualAttribute object to set property to
-
getRelations
Accessor for child Relation objects (RELATION_PTID). Gets list of child objects as an iterator (which implements Enumeration for simple traversal).- Returns:
- Iterator of Relation objects
-
getScrollbarCanvasObject
Get object property ScrollbarCanvasObject (SCROLLBAR_CANVAS_OBJECT_PTID).- Returns:
- Value of property (null if none)
-
setScrollbarCanvasObject
Set object property ScrollbarCanvasObject (SCROLLBAR_CANVAS_OBJECT_PTID).- Parameters:
value- Canvas object to set property to
-
getScrollbarTabPageObject
Get object property ScrollbarTabPageObject (SCROLLBAR_TABPAGE_OBJECT_PTID).- Returns:
- Value of property (null if none)
-
setScrollbarTabPageObject
Set object property ScrollbarTabPageObject (SCROLLBAR_TABPAGE_OBJECT_PTID).- Parameters:
value- TabPage object to set property to
-
getSource
Get object property Source (SOURCE_PTID). The return value may be an instance of: Block PropertyClass- Returns:
- Value of property downcast to a JdapiObject (null if none)
-
getTriggers
Accessor for child Trigger objects (TRIGGER_PTID). Gets list of child objects as an iterator (which implements Enumeration for simple traversal).- Returns:
- Iterator of Trigger objects
-
getUpdateDataSourceArguments
Accessor for child UpdateDataSourceArgument objects (UPDATE_DATA_SOURCE_ARGUMENT_PTID). Gets list of child objects as an iterator (which implements Enumeration for simple traversal).- Returns:
- Iterator of UpdateDataSourceArgument objects
-
getUpdateDataSourceColumns
Accessor for child UpdateDataSourceColumn objects (UPDATE_DATA_SOURCE_COLUMN_PTID). Gets list of child objects as an iterator (which implements Enumeration for simple traversal).- Returns:
- Iterator of UpdateDataSourceColumn objects
-
getVisualAttributeObject
Get object property VisualAttributeObject (VISUALATTRIBUTE_OBJECT_PTID).- Returns:
- Value of property (null if none)
-
setVisualAttributeObject
Set object property VisualAttributeObject (VISUALATTRIBUTE_OBJECT_PTID).- Parameters:
value- VisualAttribute object to set property to
-
getObjectPointer
protected long getObjectPointer()Gets the Forms API pointer for this object.- Returns:
- C pointer to the Forms object
-
queryType
public int queryType()Returns the FormAPI object type ID (x_OTIDinJdapiTypes). This should always be the same value as returned forgetTypeId. The difference between the two methods is thatqueryTypecalls down to the API itself; this ensures that the correct type is returned. Because this method calls down to the API, you might find it a little faster to usegetTypeIDinstead.- Specified by:
queryTypein interfaceJdapiObject- Returns:
- x_OTID an object type ID as defined in
JdapiTypes.
-
setClientInfo
Sets the client information. Since theclientInfois ajava.lang.Object, the client information can be anything you want to associate with the referred object. For example, you can create your own class, then pass it to this method. The referred object will retain a reference to theclientInfo.This client info object is not persistent and will be lost when the session ends.
- Specified by:
setClientInfoin interfaceJdapiObject- Parameters:
clientInfo- client info to be associated with the object.
-
getClientInfo
Returns the client info object associated with this Object. The type ID of the object returned is dependant on the type ID of the object that was set usingsetClientObject.- Specified by:
getClientInfoin interfaceJdapiObject- Returns:
- the client info object associated with this object.
-
getPersistentClientInfoBlob
Returns the persistent client info Blob associated with this object.- Specified by:
getPersistentClientInfoBlobin interfaceJdapiObject- Returns:
Blobcontaining client info.
-
getPersistentClientInfoObject
Returns the persistent client info Java object associated with this object.- Specified by:
getPersistentClientInfoObjectin interfaceJdapiObject- Returns:
- java.lang.Object serialized into the Forms object.
-
setPersistentClientInfo
Sets persistent client info for this object.Like the non-persistent client info methods, the client info can be any information that you want to save with the form. Unlike the non-persistent client info methods, the persistent info is saved as part of the form and will not be lost when the session is ended.
- Specified by:
setPersistentClientInfoin interfaceJdapiObject- Parameters:
val- aBlobobject containing client info.
-
setPersistentClientInfo
Serializes any Java object which supports the Serializable interface to this object's Persistent Client Info.Like the non-persistent client info methods, the client info can be any information that you want to save with the form. Unlike the non-persistent client info methods, the persistent info is saved as part of the form and will not be lost when the session is ended.
- Specified by:
setPersistentClientInfoin interfaceJdapiObject- Parameters:
obj- any Serializable object containing client info.
-
equals
Compares two objects and determines if they are equal.- Specified by:
equalsin interfaceJdapiObject- Parameters:
obj- object to be compared.- Returns:
trueif the two objects are equal; returnsfalseif they are not equal.
-
clone
Creates a clone of the specified object, creating a new object with the given name and owner. For example, given a Block in Form A, you can clone it into Form B by passing Form B in theparentparameter, and specifying a new name for the block in thenewNameparameter.The new object is the same as the original object in that it has the same property values. However, subclassing information is discarded, and the inherited property values "flattened" into local values in the new object.
It is your reponsibility to pass in an appropriate parent object. If you do not do this, you will probably get a
JdapiExceptionruntime exception. If possible, use the type safe clone method that is provided on each Forms object class.- Specified by:
clonein interfaceJdapiObject- Parameters:
parent- owner of the new object.newName- name of the new object.- Returns:
- the clone of the object.
-
changeOwner
Assigns a new owner to the referred object. This method will cause any previous owner to relinquish its ownership of the referred object.Set
newOwnerto null if you want the object to have no owner.The only restriction on this method is that the new owner must be in the same module as the referred object. If you attempt to assign a new owner that is in a different module, then a
JdapiExceptionwill be thrown.Note: If you want to assign the object to a new owner in a different module, then you will have to clone or subclass the object.
- Specified by:
changeOwnerin interfaceJdapiObject- Parameters:
newOwner- the new owner of referred object; specify null if you want the object to have no owner.- Throws:
JdapiException- ifnewOwneris in a different module.
-
toString
Converts and returns the object properties to string format. This is useful for debugging purposes. The string is in the format: NAME(CLASSNAME, pointer: D2FOB*, context D2FCTX*)- Specified by:
toStringin interfaceJdapiObject- Overrides:
toStringin classObject- Returns:
- String representation of the object
-
clearObjectPointer
protected void clearObjectPointer()Used internally to flag this object as an invalid object. -
isValidFormsObject
public boolean isValidFormsObject()Description copied from interface:JdapiObjectDetermines whether this Java instance references a valid Forms object.For example, assume that you have a reference to a block. If you call
destroy()on its owning module, then the module and all of its blocks should be deleted from memory. The reference that you have no longer refers to a valid Forms object. A call toisValidFormsObject()on the block should returnfalse.- Specified by:
isValidFormsObjectin interfaceJdapiObject- Returns:
trueif the instance references a valid forms object;falseotherwise.
-
destroy
public void destroy()Destroys the object - this removes the object from it's context. The JNI level is responsible for removing this object from the context cache, so we don't need to do that in here.- Specified by:
destroyin interfaceJdapiObject
-
move
Reorders an object with respect to its siblings in the collection it belongs to. This is similar to using drag and drop in Form Builder to move a block in a list. This method represents a way to do the same thing programmatically. For example, if you want a block appear immediately before Block5 in a list, you pass the object representing Block5 as thenextObjectargument.Pass null to this method to move the object to the end of the list. If the specified object and the next_object do not share the same owner, or do not have the same type, the method throws an exception.
You cannot use this method to move objects between parents. For example, it cannot be used to move an Item from one Block to another. If you want to move an object from one parent to another you will have to do something like:
// e.g. to move 'itmA' to be positioned before 'itmB' in block // 'blkB' (when 'itmA' is in another block) // copy itmA into a new parent (blkB) using same name Item newItmA = itmA.clone(blkB, itmA.getName()); newItmA.move(itmB); // move new item relative to itmB itmA.destroy(); // delete original object itmA = newItmA;
- Specified by:
movein interfaceJdapiObject- Parameters:
next- the object next to which the specified object is to be moved.- Throws:
JdapiException- if you attempt to move an object next to an object that does not share the same owner or is not of the samme type.
-
getBooleanProperty
public boolean getBooleanProperty(int propertyTypeId) Retrieves a boolean property from the referred object.- Specified by:
getBooleanPropertyin interfaceJdapiObject- Parameters:
propertyTypeId- property type ID for which a boolean value is returned.- Returns:
- the boolean property value.
-
getStringProperty
Retrieves a string property from the referred object.- Specified by:
getStringPropertyin interfaceJdapiObject- Parameters:
propertyTypeId- property type ID for which a string value is returned.- Returns:
- the string property value.
-
getIntegerProperty
public int getIntegerProperty(int propertyTypeId) Retrieves an integer property from the referred object. For example:... if(propClass.hasProperty(propNumber) && propClass.allowGet(propNumber)) { int propValue = propClass.getIntegerProperty(propNum); } ...- Specified by:
getIntegerPropertyin interfaceJdapiObject- Parameters:
propertyTypeId- property type ID for which an integer value is returned.- Returns:
- the integer property value.
-
getStringIDProperty
public int getStringIDProperty(int propertyTypeId) Retrieves a special String ID (integer) property from the referred object.This method is intended for use with the
TranslationTableobject only. For a given property ID it retrieves the integer that indexes the string property in the table for the current language.- Specified by:
getStringIDPropertyin interfaceJdapiObject- Parameters:
propertyTypeId- property type ID for which a String ID value is returned.- Returns:
- the integer String ID property value.
-
getPropertyValueName
Description copied from interface:JdapiObjectGets the string representation of a given property's value.- Specified by:
getPropertyValueNamein interfaceJdapiObject- Parameters:
propertyTypeId- Property numberval- Value of property- Returns:
- String representation
-
getIntegerPropertyString
Description copied from interface:JdapiObjectGets a numeric (long) property value's text representation.- Specified by:
getIntegerPropertyStringin interfaceJdapiObject- Parameters:
propertyTypeId- Number identifying the property- Returns:
- Property's text representation
-
getObjProp
protected long getObjProp(int propertyTypeId) Internal method used to get an object property value. This only really gets the C pointer to the Forms object. You must then use theContextCacheto lookup/instantiate the Java representation of the object.- Parameters:
propertyTypeId- Number identifying the property- Returns:
- Property's value
- See Also:
-
ContextCacheJdapiObject.getObjectProperty(int)
-
getObjectProperty
Description copied from interface:JdapiObjectRetrieves aJdapiObjectproperty from the referred object. For example, if you pass the integerpropertyTypeIdfor an Item in a Block to this method, it returns the Item.- Specified by:
getObjectPropertyin interfaceJdapiObject- Parameters:
propertyTypeId- property type ID for which a JdapiObject value is returned.- Returns:
- the JdapiObject property value.
-
getChildObjectProperty
Description copied from interface:JdapiObjectRetrieves child objects for a given property value. Implicit in this method is the idea of an ownership relationship between objects. Items are clearly owned by a Block. If you delete the Block, then its Items are deleted. On the other hand, Items can appear on a Canvas. If you delete the Canvas, however, the Items are not deleted. Thus, the method returns an iterator over Items if it is passed a Block. In contrast, if it is passed a Canvas, it should not return an iterator over Items.For example:
... // get the actual values for the current child object type, // for example, get the Items on a Block iter = jo.getChildObjectProperty(prop.getPropertyId()); ...Note, it should be (slightly) faster to call the specific method on the object, for examplegetBlocks()on the FormModule, as it involves fewer API calls. However,getChildObjectPropertyshould be sufficient if you only have apropertyTypeIdavailable.This method also differs from the direct accessors in that null is returned if there are no objects, not an empty iterator.
- Specified by:
getChildObjectPropertyin interfaceJdapiObject- Parameters:
propertyTypeId- number identifying the child object property.- Returns:
- Iterator for child objects, can return null if there are no child objects.
-
setBooleanProperty
public void setBooleanProperty(int propertyTypeId, boolean propertyValue) Description copied from interface:JdapiObjectSets the value of the specified boolean property belonging to the referred object.- Specified by:
setBooleanPropertyin interfaceJdapiObject- Parameters:
propertyTypeId- property type ID of the property for which you want to set the boolean value.propertyValue- the boolean value for the property.
-
setStringProperty
Description copied from interface:JdapiObjectSets the value of the specified string property for the object.- Specified by:
setStringPropertyin interfaceJdapiObject- Parameters:
propertyTypeId- property type ID of the property for which you want to set the string value.propertyValue- the string value for the property.
-
setIntegerProperty
public void setIntegerProperty(int propertyTypeId, int propertyValue) Sets the value of the specified object integer property.- Specified by:
setIntegerPropertyin interfaceJdapiObject- Parameters:
propertyTypeId- property type id for which we set the integer value.propertyValue- the integer property value in property.
-
setObjProp
protected void setObjProp(int propertyTypeId, long val) Internal method used to set an object property. This sets the object property by the C pointer to the object you want to set.- Parameters:
propertyTypeId- Number identifying the propertyval- Value to set the property to- See Also:
-
setObjectProperty
Sets the value of the specified object object property value.- Specified by:
setObjectPropertyin interfaceJdapiObject- Parameters:
propertyTypeId- property type id for which we set the object property value.propertyValue- the object property value in property.
-
hasProperty
public boolean hasProperty(int propertyTypeId) Checks if the object has a given property.- Specified by:
hasPropertyin interfaceJdapiObject- Parameters:
propertyTypeId- Number identifying the property- Returns:
- 'true' if the object has that property, 'false' otherwise
-
inheritProperty
public void inheritProperty(int propertyTypeId) Resets a property to it's default value (confusing name eh?). What it's really doing is setting the property to it's base classes value - i.e. whatever it's subclassed from. If the object is not subclassed from anything, then this is the default value.- Specified by:
inheritPropertyin interfaceJdapiObject- Parameters:
propertyTypeId- Number that identified the property
-
hasInheritedProperty
public boolean hasInheritedProperty(int propertyTypeId) Checks if a property is inherited.- Specified by:
hasInheritedPropertyin interfaceJdapiObject- Parameters:
propertyTypeId- Number that identified the property- Returns:
- 'true' if property is inherited
-
hasOverriddenProperty
public boolean hasOverriddenProperty(int propertyTypeId) Determine whether the object referred has a property of the given type id with an overridden value.- Specified by:
hasOverriddenPropertyin interfaceJdapiObject- Parameters:
propertyTypeId- The type id of the property to be queried.- Returns:
- TRUE if the object's property has overridden value, else FALSE.
-
hasDefaultedProperty
public boolean hasDefaultedProperty(int propertyTypeId) Checks if a property is set to it's default value.- Specified by:
hasDefaultedPropertyin interfaceJdapiObject- Parameters:
propertyTypeId- Number that identified the property- Returns:
- 'true' if the property is set to the default value
-
getPropertyState
public int getPropertyState(int propertyTypeId) Returns the current state of the specified property.A property can be in one of the 5 states:
PROPERTY_STATE_UNKNOWN = 0;
PROPERTY_DEFAULT_VALUE = 1;
PROPERTY_OVERRIDDEN_DEFAULT_VALUE = 2;
PROPERTY_INHERITED_VALUE = 3;
PROPERTY_OVERRIDDEN_INHERITED_VALUE = 3;- Specified by:
getPropertyStatein interfaceJdapiObject- Parameters:
propertyTypeId- The type id of the property.- Returns:
- integer 0 through 3 representing one of the states.
-
isSubclassed
public boolean isSubclassed()Checks if the object is subclassed from another object.- Specified by:
isSubclassedin interfaceJdapiObject- Returns:
- 'true' if the object is subclassed, 'false' otherwise
-
getSubclassParent
Get Source (SOURCE_PTID) object property, i.e. the object this object subclassed from. This is also implemented on derived classed with this property as getSource().- Specified by:
getSubclassParentin interfaceJdapiObject- Returns:
- Value of property downcast to a BaseFormsObject (null if none of object does not have this property)
-
setSubclassParent
Change the subclassing parent of the object referred.The metadata associated with each object describes the types of objects that can become its subclassing parent. If the subclassing metadata associated with the refrred object doesn't indicate the objects of the given parent's type are allowed, then this method will throw an exception.
- Specified by:
setSubclassParentin interfaceJdapiObject- Parameters:
parent- The parent object. If this is null, the child the referred object will become an orphan. This is the way to unset the subclassing parent of an object.
-
unsetSubclassParent
public void unsetSubclassParent()Remove the subclassing parent of the object referred.The subclassing will be removed completely if it existed and the object will now contain the default values.
-
createSubclassedChild
Subclass the referred object. The child will be owned by the referred object specified.- Specified by:
createSubclassedChildin interfaceJdapiObject- Parameters:
childOwner- The object that will own the newly created subclassed child object.childName- The name to be given to the newly created child.- Returns:
- the subclassed object.
-
reattach
public void reattach()Reattaches subclassed object. You must call this method if you manipulate any of the following properties of a Forms object: PAR_MODULE_PTID, PAR_NAM_PTID, PAR_SL1OBJ_NAM_PTID, PAR_MODTYP_PTID, PAR_TYP_PTID, PARSL1OBJ_TYP_PTID This is only if you are manipulating these low level subclassing properties.- Specified by:
reattachin interfaceJdapiObject
-
getOwnedObjects
Get the object instances owned by this particular object.- Specified by:
getOwnedObjectsin interfaceJdapiObject- Returns:
- Iterator of JdapiObjects
-
getClassName
Gets the class name of the object. This is useful if you want to refer to the name of the Forms object in some output but don't want the Java package details.- Specified by:
getClassNamein interfaceJdapiObject- Returns:
- Name of "class" of Forms object
-
getQualifiedName
Gets a fully qualified name for the object in the format of: MODULE.OBJECT.CHILD.CHILD... i.e. '.' separates the objects names from the current object back upto the module.- Specified by:
getQualifiedNamein interfaceJdapiObject- Parameters:
includeModule- Include the module name
-
getJdapiMetaObject
Gets the metadata object for the specified object.- Specified by:
getJdapiMetaObjectin interfaceJdapiObject- Returns:
- the metadata object for the specified object.
-
getMetaProperties
Return an iterator over the meta properties in object referred.The various property type ids and the object-property mapping are defined by the specific implementation in the respective Constants file.
- Specified by:
getMetaPropertiesin interfaceJdapiObject- Returns:
- an enumeration of the specified object meta properties.
-