|
Oracle Warehouse Builder Java API Reference 10g Release 1 (10.1) B12155-01 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Record
interface represents a record.
Method Summary | |
Field |
createField(java.lang.String name) Creates a new Field and adds it to the Record. |
Field |
createField(java.lang.String name, int position) Creates a new Field and adds it to the Record at the specified position. |
Field |
findField(java.lang.String name) Finds a Field in the Record. |
Field[] |
getFields() Gets all the Fields of the Record. |
FlatFile |
getOwningFlatFile() Returns the FlatFile which contains the Record. |
java.lang.String |
getRecordTypeValue() Gets the record type value(s) for the Record; the value(s) which distinguish the Record from the other Records in the datafile |
void |
moveField(Field field, int newPosition) Moves a Field of the Record to the new position. |
void |
setRecordTypeValue(java.lang.String value) Sets the record type value(s) for the Record; the value(s) which distinguish the Record from the other Records in the datafile. |
Methods inherited from interface oracle.owb.reconcile.ReconcileSource |
getReconcileTargetTypes, getType |
Methods inherited from interface oracle.owb.foundation.OWBNamedObject |
delete, getBusinessName, getClassDefinition, getComponent, getDescription, getName, getUOID, isDeletable, isEditable, isRenamable, setBusinessName, setDescription, setName |
Methods inherited from interface oracle.owb.foundation.property.PropertyOwner |
getDefaultPropertyValue, getLogicalPropertyKeys, getPhysicalPropertyKeys, getPropertyDomain, getPropertyKeys, getPropertyValue, getPropertyValueString, isLogicalProperty, isPhysicalProperty, isReadOnlyProperty, setPropertyValue, setPropertyValueByString |
Method Detail |
public FlatFile getOwningFlatFile()
public Field createField(java.lang.String name) throws NameSpaceException, InvalidFormatException
name
- a String which will be the name of the new Field. The name will be converted to all uppercase characters if it is not already.NameSpaceException
- If the name has already been used by a Field in this RecordInvalidFormatException
- If the name is not a valid name for a Field object. For example, it is too long or contains invalid characters.public Field createField(java.lang.String name, int position) throws NameSpaceException, InvalidFormatException
name
- a String which will be the name of the new Field. The name will be converted to all uppercase characters if it is not already.position
- where this newly created Field will be located in this RecordNameSpaceException
- If the name has already been used by a Field in this RecordInvalidFormatException
- If the name is not a valid name for a Field object. For example, it is too long or contains invalid characters.public Field[] getFields()
public Field findField(java.lang.String name)
name
- a String specifying the name of the Field to find. It is case sensitive.public void moveField(Field field, int newPosition)
field
- the Field to movenewPosition
- where the Field will be located in this Recordpublic void setRecordTypeValue(java.lang.String value)
value
- the record type value. Assign multiple record type values to the Record by passing in a comma delimited String.getRecordTypeValue
public java.lang.String getRecordTypeValue()
setRecordTypeValue
|
Oracle Warehouse Builder Java API Reference 10g Release 1 (10.1) B12155-01 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |