|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
The RepositorySchema class holds the schema information for a repository.
| Method Summary | |
boolean |
containsTable(String tableCode)
Returns a boolean indicating if the specified table exists. |
boolean |
containsTable(TableId tableId)
Returns a boolean indicating if the specified table exists. |
boolean |
containsTupleDefinition(String tupleDefinitionCode)
Returns a boolean indicating if the specified tuple definition exists. |
boolean |
containsTupleDefinition(TupleDefinitionId tupleDefinitionId)
Returns a boolean indicating if the specified tuple definition exists. |
FieldProperties |
getField(String tableCode,
String fieldCode)
Returns properties of the specified field for the specified table |
FieldProperties |
getField(TableId tableId,
FieldId fieldId)
Returns properties of the specified field for the specified table |
String |
getFieldCode(TableId tableId,
FieldId fieldId)
Converts the field code to field ID |
String[] |
getFieldCodes(String tableCode)
Returns the array of field codes for the specified table |
FieldId |
getFieldId(String tableCode,
String fieldCode)
Converts the field ID to field code |
FieldProperties[] |
getFields(String tableCode)
Returns the properties for all fields of the specified table |
FieldProperties[] |
getFields(TableId tableId)
Returns the properties for all fields of the specified table |
ImageVariantProperties |
getImageVariant(ImageVariantId imageVariantId)
Returns the image variant properties for the specified image variant |
ImageVariantProperties[] |
getImageVariants()
Returns the image variant properties. |
RelationshipProperties |
getRelationship(RelationshipId relationshipId)
Returns the relationship properties for the specified relationship |
RelationshipProperties |
getRelationship(String relationshipCode)
Returns the relationship properties for the specified relationship |
String |
getRelationshipCode(RelationshipId relationshipId)
Converts the relationship ID to relationship code |
String[] |
getRelationshipCodes()
Returns the relationship codes for all relationships. |
RelationshipId |
getRelationshipId(String relationshipCode)
Converts the relationship code to relationship ID |
RelationshipProperties[] |
getRelationships()
Returns the relationship properties. |
RemoteSystemProperties |
getRemoteSystem(RemoteSystemId remoteSystemId)
Returns the remote system properties for the specified remote system |
RemoteSystemProperties |
getRemoteSystem(String remoteSystemCode)
Returns the remote system properties for the specified remote system |
String |
getRemoteSystemCode(RemoteSystemId remoteSystemId)
Converts the remote system ID to remote system code |
String[] |
getRemoteSystemCodes()
Returns code for all remote system. |
RemoteSystemId |
getRemoteSystemId(String remoteSystemCode)
Converts the remote system code to remote system ID |
RemoteSystemProperties[] |
getRemoteSystems()
Returns the properties for all remote system. |
RepositoryIdentifier |
getRepository()
Deprecated. use getRepositoryIdentifier |
RepositoryIdentifier |
getRepositoryIdentifier()
Get repository identifier |
ReverseLookupId[] |
getReverseLookups(String tableCode)
Returns reverse lookups for the table specified by its code. |
ReverseLookupId[] |
getReverseLookups(TableId tableId)
Returns reverse lookups for the table specified by its ID. |
TableProperties |
getTable(String tableCode)
Returns the table properties for the specified table |
TableProperties |
getTable(TableId tableId)
Returns the table properties for the specified table |
String |
getTableCode(TableId tableId)
Converts the table ID to table code |
String[] |
getTableCodes()
Returns codes for all tables of the repository. |
TableId |
getTableId(String tableCode)
Converts the table code to table ID |
TableId[] |
getTableIds()
Returns IDs for all tables of the repository. |
TableSchema |
getTableSchema(String tableCode)
Returns the table metadata for the specified table. |
TableSchema |
getTableSchema(TableId tableId)
Returns the table metadata for the specified table. |
TupleDefinitionProperties |
getTupleDefinition(String tupleDefinitionCode)
Returns the tuple definition. |
TupleDefinitionProperties |
getTupleDefinition(TupleDefinitionId tupleDefinitionId)
Returns the tuple definition. |
TupleDefinitionId[] |
getTupleDefinitionIds()
Returns the list of tuple definition Ids. |
TupleDefinitionSchema |
getTupleDefinitionSchema(String tupleDefinitionCode)
Returns the tuple definition schema for the specified tuple definition code. |
TupleDefinitionSchema |
getTupleDefinitionSchema(TupleDefinitionId tupleDefinitionId)
Returns the tuple definition schema. |
FieldProperties |
getTupleMemberField(String tupleDefinitionCode,
String fieldCode)
Returns the tuple member field. |
FieldProperties |
getTupleMemberField(TupleDefinitionId tupleDefinitionId,
FieldId fieldId)
Returns the tuple member field. |
FieldProperties[] |
getTupleMemberFields(String tupleDefinitionCode)
Returns the list of tuple memeber fields. |
FieldProperties[] |
getTupleMemberFields(TupleDefinitionId tupleDefinitionId)
Returns the list of tuple member fields. |
| Method Detail |
public RepositoryIdentifier getRepository()
public RepositoryIdentifier getRepositoryIdentifier()
public TableSchema getTableSchema(TableId tableId)
throws IllegalArgumentException
tableId - the table ID
IllegalArgumentException - if table doesn't exist in repository
public TableSchema getTableSchema(String tableCode)
throws IllegalArgumentException
tableCode - the table Code
IllegalArgumentException - if table doesn't exist in repositorypublic String[] getTableCodes()
public TableId[] getTableIds()
public TableProperties getTable(TableId tableId)
throws IllegalArgumentException
tableId - the table ID
IllegalArgumentException - if table doesn't exist in repository
public TableProperties getTable(String tableCode)
throws IllegalArgumentException
tableCode - the table Code
IllegalArgumentException - if table doesn't exist in repositorypublic boolean containsTable(String tableCode)
boolean indicating if the specified table exists.
tableCode - the table code
public boolean containsTable(TableId tableId)
boolean indicating if the specified table exists.
tableId - the table ID
public TableId getTableId(String tableCode)
throws IllegalArgumentException
tableCode - the table code
IllegalArgumentException - if table doesn't exist in repository
public String getTableCode(TableId tableId)
throws IllegalArgumentException
tableId - the table ID
IllegalArgumentException - if table doesn't exist in repository
public String[] getFieldCodes(String tableCode)
throws IllegalArgumentException
tableCode - the table code
IllegalArgumentException - if table doesn't exist in repository
public FieldProperties[] getFields(TableId tableId)
throws IllegalArgumentException
tableId - the table ID
IllegalArgumentException - if table doesn't exist in repository
public FieldProperties[] getFields(String tableCode)
throws IllegalArgumentException
tableCode - the table Code
IllegalArgumentException - if table doesn't exist in repository
public FieldProperties getField(TableId tableId,
FieldId fieldId)
throws IllegalArgumentException
tableId - the table IDfieldId - the field ID
IllegalArgumentException - if table doesn't exist in repository or field isn't a part of the table
public FieldProperties getField(String tableCode,
String fieldCode)
throws IllegalArgumentException
tableCode - the table code namefieldCode - the field code name
IllegalArgumentException - if table doesn't exist in repository or field isn't a part of the table
public FieldId getFieldId(String tableCode,
String fieldCode)
throws IllegalArgumentException
tableCode - the table codefieldCode - the field code
IllegalArgumentException - if table doesn't exist in repository or field isn't a part of the table
public String getFieldCode(TableId tableId,
FieldId fieldId)
throws IllegalArgumentException
tableId - the table IDfieldId - the field ID
IllegalArgumentException - if table doesn't exist in repository or field isn't a part of the table
public ReverseLookupId[] getReverseLookups(TableId tableId)
throws IllegalArgumentException
tableId - the table ID
IllegalArgumentException
public ReverseLookupId[] getReverseLookups(String tableCode)
throws IllegalArgumentException
tableCode - the table code
IllegalArgumentExceptionpublic TupleDefinitionId[] getTupleDefinitionIds()
public TupleDefinitionSchema getTupleDefinitionSchema(TupleDefinitionId tupleDefinitionId)
public TupleDefinitionSchema getTupleDefinitionSchema(String tupleDefinitionCode)
tupleDefinitionCode - the tuple definition code
public TupleDefinitionProperties getTupleDefinition(TupleDefinitionId tupleDefinitionId)
throws IllegalArgumentException
tupleDefinitionId - a tuple definition Id
IllegalArgumentException
public TupleDefinitionProperties getTupleDefinition(String tupleDefinitionCode)
throws IllegalArgumentException
tupleDefinitionCode - a tuple definition code
IllegalArgumentExceptionpublic boolean containsTupleDefinition(String tupleDefinitionCode)
boolean indicating if the specified tuple definition exists.
tupleDefinitionCode - the tuple definition code
public boolean containsTupleDefinition(TupleDefinitionId tupleDefinitionId)
boolean indicating if the specified tuple definition exists.
tupleDefinitionId - the tuple definition ID
public FieldProperties[] getTupleMemberFields(TupleDefinitionId tupleDefinitionId)
throws IllegalArgumentException
tupleDefinitionId - a tuple definition Id
IllegalArgumentException
public FieldProperties[] getTupleMemberFields(String tupleDefinitionCode)
throws IllegalArgumentException
tupleDefinitionCode - a tuple definition code
IllegalArgumentException
public FieldProperties getTupleMemberField(TupleDefinitionId tupleDefinitionId,
FieldId fieldId)
throws IllegalArgumentException
tupleDefinitionId - a tuple definition IdfieldId - a tuple member field Id
IllegalArgumentException
public FieldProperties getTupleMemberField(String tupleDefinitionCode,
String fieldCode)
throws IllegalArgumentException
tupleDefinitionCode - a tuple definition codefieldCode - a tuple member field code
IllegalArgumentExceptionpublic RelationshipProperties[] getRelationships()
public String[] getRelationshipCodes()
public RelationshipProperties getRelationship(RelationshipId relationshipId)
throws IllegalArgumentException
relationshipId - the relationship ID
IllegalArgumentException - if relationship doesn't exist in repository
public RelationshipProperties getRelationship(String relationshipCode)
throws IllegalArgumentException
relationshipCode - the relationship Code
IllegalArgumentException - if relationship doesn't exist in repository
public RelationshipId getRelationshipId(String relationshipCode)
throws IllegalArgumentException
relationshipCode - the relationship Code
IllegalArgumentException - if relationship doesn't exist in repository
public String getRelationshipCode(RelationshipId relationshipId)
throws IllegalArgumentException
relationshipId - the relationship ID
IllegalArgumentException - if relationship doesn't exist in repositorypublic RemoteSystemProperties[] getRemoteSystems()
public String[] getRemoteSystemCodes()
public RemoteSystemProperties getRemoteSystem(RemoteSystemId remoteSystemId)
throws IllegalArgumentException
remoteSystemId - the remote system ID
IllegalArgumentException - if remote system doesn't exist in repository
public RemoteSystemProperties getRemoteSystem(String remoteSystemCode)
throws IllegalArgumentException
remoteSystemCode - the remote system Code
IllegalArgumentException - if remote system doesn't exist in repository
public RemoteSystemId getRemoteSystemId(String remoteSystemCode)
throws IllegalArgumentException
remoteSystemCode - the remote system Code
IllegalArgumentException - if remote system doesn't exist in repository
public String getRemoteSystemCode(RemoteSystemId remoteSystemId)
throws IllegalArgumentException
remoteSystemId - the remote system ID
IllegalArgumentException - if remote system doesn't exist in repositorypublic ImageVariantProperties[] getImageVariants()
public ImageVariantProperties getImageVariant(ImageVariantId imageVariantId)
throws IllegalArgumentException
imageVariantId - the image variant ID
IllegalArgumentException - if image variant doesn't exist in repository
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Copyright 2004-2007 by SAP AG. All Rights Reserved.
SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary.
These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies (SAP Group) for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.