Methods
- Last Updated: March 30, 2020
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
The Java SDO Property interface provides
the following methods:
-
getDefault( ) — This method returns the default value this
Propertyhas in aDataObject(as specified by Java SDO) when the property has not yet been set. For example:Syntax
Object getDefault() -
getName( ) — This method returns the name of the
Property. For a column property, this is the ABL name of the corresponding temp-table field. For example:Syntax
String getName() -
getType( ) — This method returns the
Typeof theProperty. For example:Syntax
Type getType() -
isMany( ) — This method returns
trueif thisPropertyis defined as many-valued, andfalseif single-valued. If it returnstruefor a column property, theDataObject get*()methods return ajava.lang.List. It always returnstruefor a reference property. For example:Syntax
boolean isMany()