Methods
- Last Updated: January 16, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
The Java SDO Type interface provides
the following methods:
-
getClass( ),
getInstanceClass( ) — These methods return the Java class that this
Typerepresents. If this is theTypeof a reference property,getInstanceClass()returnsnull. For example:Syntax
java.lang.Class getClass() java.lang.Class getInstanceClass() -
getProperties( ) — This method returns the list of the properties for the
Typeof aDataObject. For aTyperepresenting the simple data type of aProperty(for example,java.lang.Integer), it returnsnull. For example:Syntax
java.util.List getProperties() -
getProperty( ) — This method returns the property with the specified name from the
property list of a
DataObject Type. For a column property of aProDataObject, propName is also the ABL name of a corresponding temp-table field. For example:Syntax
Property getGetProperty(String propName) -
isInstance( ) — This method returns whether the specified object is an instance of
this
Type. For example, ifTyperepresents theCustomerclass and obj is aDataObjectwhoseTyperepresents theCustomerclass, this method returnstrue. For example:Syntax
boolean isInstance(java.lang.Object obj)