The Java SDO Property interface provides the following methods:

  • getDefault( ) — This method returns the default value this Property has in a DataObject (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 Type of the Property. For example:

    Syntax

    Type getType()
  • isMany( ) — This method returns true if this Property is defined as many-valued, and false if single-valued. If it returns true for a column property, the DataObject get*() methods return a java.lang.List. It always returns true for a reference property. For example:

    Syntax

    boolean isMany()