com.sap.dictionary.runtime
Interface IStructure

All Superinterfaces:
java.lang.Cloneable, IDataType

public interface IStructure
extends IDataType


Method Summary
 java.util.Iterator fieldIterator()
          Returns an Iterator for the structure fields
 IField getField(int position)
          Returns a field instance via position, The first field has position 1!
 IField getField(java.lang.String name)
          Returns a field instance via name
 java.lang.String getName()
          Returns the structure's name
 int getNumberOfFields()
          Returns the number of fields
 IDataProvider getProvider()
          Get the SimpleType's provider
 java.lang.String toString()
          Returns a String-representation of this structure
 
Methods inherited from interface com.sap.dictionary.runtime.IDataType
getAssociatedClass, getBackendConversionRule, getBackendName, getLocale, getLocalName, getPrefix, getQualifiedName, isModifyAllowed, isSimpleType, isStructure
 

Method Detail

getProvider

public IDataProvider getProvider()
Get the SimpleType's provider
Returns:
a provider

getName

public java.lang.String getName()
Returns the structure's name
Specified by:
getName in interface IDataType
Returns:
the structure's name

getField

public IField getField(java.lang.String name)
Returns a field instance via name
Parameters:
name - - The field's name
Returns:
the corresponding field instance

getField

public IField getField(int position)
Returns a field instance via position, The first field has position 1!
Parameters:
name - - The field's position
Returns:
the corresponding field instance

getNumberOfFields

public int getNumberOfFields()
Returns the number of fields

fieldIterator

public java.util.Iterator fieldIterator()
Returns an Iterator for the structure fields

toString

public java.lang.String toString()
Returns a String-representation of this structure
Overrides:
toString in class java.lang.Object


Copyright © 2005 SAP AG. All Rights Reserved.