Business Components

oracle.jbo
Interface StructureDef

All Known Subinterfaces:
ViewObject
All Known Implementing Classes:
DomainStructureDef, StructureDefHelper, oracle.jbo.server.ViewDefImpl

public interface StructureDef

Imlemented by classes that access a View Object's or Entity Object's metadata.

Since:
JDeveloper 3.0
See Also:
ApplicationModule, RowSet

Method Summary
 AttributeDef findAttributeDef(java.lang.String name)
          Gets an attribute definition by name.
 int getAttributeCount()
          Counts the defined attributes.
 AttributeDef getAttributeDef(int index)
          Gets an attribute definition by index.
 AttributeDef[] getAttributeDefs()
          Gets the defined attributes.
 

Method Detail

getAttributeDefs

public AttributeDef[] getAttributeDefs()
Gets the defined attributes.
Returns:
an array of attribute definitions.

getAttributeCount

public int getAttributeCount()
Counts the defined attributes.
Returns:
the number of attributes.

findAttributeDef

public AttributeDef findAttributeDef(java.lang.String name)
Gets an attribute definition by name.
Parameters:
name - the name of an AttributeDef.
Returns:
an attribute definition, or null if not found.

getAttributeDef

public AttributeDef getAttributeDef(int index)
Gets an attribute definition by index.
Parameters:
index - the index of an AttributeDef, where the leftmost attribute has index zero.
Returns:
an attribute definition.

Business Components