|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sap.mw.jco.JCO.MetaData
Implements the meta data for a data structure, i.e. table, structure, or parameter list, respectively. Meta data describe the layout of a table, structure or parameter list.
| Nested Class Summary | |
protected class |
JCO.MetaData.Type1Data
|
| Field Summary | |
protected int[] |
blength
The length of the java data fields in chars |
protected int[] |
boffset
The offsets of the data fields into the java data buffer in chars |
protected byte[] |
decimals
The number of decimals of the data fields |
protected String[] |
defaults
Default values for the data fields |
protected String[] |
description
Descriptional text for the data fields |
protected com.sap.mw.jco.IExtendedFieldMetaData[] |
extended_field_meta_data
Extended meta data the data fields |
protected byte[] |
flags
Flags that indicate the type of the parameter |
protected Hashtable |
hash_of_indices
Hashtable for field_name field_index mapping |
protected long |
last_active_timestamp
|
protected int[] |
length
The length of the native data fields in bytes |
protected String[] |
name
The names of the data fields |
protected int |
num_fields
The number of meta data stored in this object |
protected int |
num_odata
The number of complex objects stored in this object |
protected int[] |
offset
The offsets of the data fields into the native data buffer in bytes |
protected byte[] |
oindex
Indices into complex data buffer (i.e. structures and tables) |
protected static int |
PRINT_HEADER_ALL
Include all headers into the HTML output |
protected static int |
PRINT_HEADER_DECIMALS
Include the field decimals into the HTML output |
protected static int |
PRINT_HEADER_DEFAULT
Include the field defaults into the HTML output |
protected static int |
PRINT_HEADER_INTERNAL_LENGTH
Include the field size into the HTML output |
protected static int |
PRINT_HEADER_INTERNAL_OFFSET
Include the field offset into the HTML output |
protected static int |
PRINT_HEADER_LENGTH
Include the field size into the HTML output |
protected static int |
PRINT_HEADER_NAME
Include the field names into the HTML output |
protected static int |
PRINT_HEADER_OFFSET
Include the field offset into the HTML output |
protected static int |
PRINT_HEADER_TYPE
Include the field types into the HTML output |
protected String |
rec_name
Name of the table or structure defined by this meta data (Only used for structure and table type records |
protected int |
tab_length
Total number of bytes of a structure or of a single row in a table |
protected Object[] |
tab_meta
The names of meta data of the tables as supplied by the repository |
protected byte[] |
type
The SAP R/3 types of the data fields |
protected long |
type_handle
Internally used handle |
protected String |
type_name
Name of stucture, which is line type of the table (Only for tables) |
protected JCO.MetaData.Type1Data |
type1_data
metadata for nested type1 structures |
protected byte |
unicode_type
|
| Fields inherited from interface com.sap.mw.jco.IMetaData |
EXPORT_PARAMETER, IMPORT_PARAMETER, INACTIVE_PARAMETER, NESTED_TYPE1_STRUCTURE, OPTIONAL_PARAMETER, TYPE_BCD, TYPE_BYTE, TYPE_CHAR, TYPE_DATE, TYPE_EXCEPTION, TYPE_FLOAT, TYPE_INT, TYPE_INT1, TYPE_INT2, TYPE_INVALID, TYPE_ITAB, TYPE_NUM, TYPE_STRING, TYPE_STRUCTURE, TYPE_TABLE, TYPE_TIME, TYPE_XSTRING, UNINITIALIZED, UNINITIALIZED_PARAMETER |
| Constructor Summary | |
protected |
JCO.MetaData()
Creates an instance of the meta data object |
|
JCO.MetaData(IMetaData obj)
Creates an instance of the meta data object |
|
JCO.MetaData(String rec_name)
Creates an instance of the meta data object |
|
JCO.MetaData(String rec_name,
int capacity)
Creates an instance of the meta data object and preallocates data structures for the specifed number of entries. |
| Method Summary | |
void |
addInfo(String name,
char type,
int offset,
int length)
Deprecated. Only used internally. This method might be removed or changed in the next release without notice. Use public void addInfo(String name, int type, int length, int offset) instead. |
void |
addInfo(String name,
char type,
int offset,
int length,
int decimals)
Deprecated. Only used internally. This method might be removed or changed in the next release without notice. Use public void addInfo(String name, int type, int length, int offset, int decimals) instead. |
void |
addInfo(String name,
int type,
int length)
Adds a new field descriptor to the meta data object. |
void |
addInfo(String name,
int type,
int length,
int offset)
Adds a new field descriptor to the meta data object. |
void |
addInfo(String name,
int type,
int length,
int offset,
int decimals)
Adds a new field descriptor to the meta data object. |
void |
addInfo(String name,
int type,
int length,
int offset,
int decimals,
int flags,
Object tab_meta)
Adds a new field descriptor to the meta data object. |
void |
addInfo(String name,
int type,
int charlength,
int length,
int offset,
int decimals,
String sdefault,
String description,
int flags,
Object tab_meta,
com.sap.mw.jco.IExtendedFieldMetaData extended)
Adds a new field descriptor to the meta data object |
void |
addInfo(String name,
int type,
int length,
int offset,
int decimals,
String sdefault,
String description,
int flags,
Object tab_meta,
com.sap.mw.jco.IExtendedFieldMetaData extended)
Adds a new field descriptor to the meta data object. |
Object |
clone()
Creates an returns a copy of the MetaData object. |
protected void |
copy(IMetaData obj)
Copy data from another meta data object |
boolean |
equals(Object obj)
Compares the specified object with this meta data object for equality. |
int |
getCapacity()
Returns the capacity of the internal buffers |
protected int |
getDataBufferLength(int index)
This method is for internal use only. |
protected int |
getDataBufferOffset(int index)
This method is for internal use only. |
int |
getDecimals(int index)
Returns the number of decimals of the field Decimals are only necessary for the data types JCO.TYPE_BCD and JCO.TYPE_FLOAT. |
int |
getDecimals(String field_name)
Returns the number of decimals of the field Decimals are only necessary for the data types JCO.TYPE_BCD and JCO.TYPE_FLOAT. |
String |
getDefault(int index)
Returns the default value for the specified field |
String |
getDefault(String field_name)
Returns the default value for the specified field |
String |
getDescription(int index)
Returns a textual description for the specified field |
String |
getDescription(String field_name)
Returns a textual description for the specified field |
com.sap.mw.jco.IExtendedFieldMetaData |
getExtendedFieldMetaData(int index)
Returns the extended field meta data object |
com.sap.mw.jco.IExtendedFieldMetaData |
getExtendedFieldMetaData(String field_name)
Returns the extended field meta data object |
int |
getFieldCount()
Returns the number of fields. |
int |
getFlags(int index)
Returns the flags for the specified field |
int |
getFlags(String field_name)
Returns the flags for the specified field |
int |
getInternalLength(int index)
Returns the length of the field |
int |
getInternalLength(String field_name)
Returns the length of the field |
int |
getLength(int index)
Returns the length of the field |
int |
getLength(String field_name)
Returns the length of the field |
String |
getLineTypeName()
Deprecated. only for internal use. |
IMetaData |
getMetaData()
Returns the copy of MetaData object |
IMetaData |
getMetaData(int index)
Returns the meta data if this data field is a table or structure or null if no meta data are available |
IMetaData |
getMetaData(String field_name)
Returns the meta data if this data field is a table or structure or null if no meta data are available |
String |
getName()
Returns the name of the record |
String |
getName(int index)
Returns the field name of the data field The field name is used for identfying a field in a structure or table row. |
int |
getNumFields()
Returns the number of fields. |
protected int |
getObjectId()
|
int |
getOffset(int index)
Returns the offset of the field. |
int |
getOffset(String field_name)
Returns the offset of the field. |
int |
getTabLength()
Returns the total length of a structure or single row of a table |
String |
getTabName(int index)
Returns the table/structure name of the data field or null if no table name is available |
String |
getTabName(String field_name)
Returns the table/structure name of the data field or null if no table name is available |
int |
getType(int index)
Returns the data type of the field |
int |
getType(String field_name)
Returns the data type of the field |
String |
getTypeAsString(int index)
Returns the data type of the field as a string |
String |
getTypeAsString(String field_name)
Returns the data type of the field as a string |
protected byte |
getUnicodeType()
|
protected String |
getUnicodeTypeAsString()
|
boolean |
hasField(String field_name)
Checks whether a named field exists |
int |
hashCode()
Returns the hash code value for this record |
int |
indexOf(String field_name)
Returns the index of the named field |
protected void |
internalSize(com.sap.mw.jco.JCO.DataSize size)
|
boolean |
isActive(int index)
Checks whether the specified field is active |
boolean |
isActive(String field_name)
Checks whether the specified field is active |
boolean |
isException(int index)
Checks whether this field is a exception |
boolean |
isException(String field_name)
Checks whether this field is a exception |
boolean |
isExport(int index)
Checks whether this field is an export parameter |
boolean |
isExport(String field_name)
Checks whether this field is an export parameter |
boolean |
isImport(int index)
Checks whether this field is an import parameter |
boolean |
isImport(String field_name)
Checks whether this field is an import parameter |
boolean |
isInitialized(int index)
Checks whether this field has been initialized |
boolean |
isInitialized(String field_name)
Checks whether this field has been initialized |
boolean |
isNestedType1Structure()
Checks whether this MetaData is a nested TYPE1 structure, which is a structure with a fixed length in memory, but with a nested layout |
boolean |
isNestedType1Structure(int index)
Checks whether the field at the specified index is a nested TYPE1 structure, which is a structure with a fixed length in memory, but with a nested layout |
boolean |
isNestedType1Structure(String field_name)
Checks whether the field with the specified name is a nested TYPE1 structure, which is a structure with a fixed length in memory, but with a nested layout |
boolean |
isOptional(int index)
Checks whether this field is an optional parameter |
boolean |
isOptional(String field_name)
Checks whether this field is an optional parameter |
boolean |
isStructure(int index)
Checks whether this field is a structure parameter |
boolean |
isStructure(String field_name)
Checks whether this field is a structure parameter |
boolean |
isTable(int index)
Checks whether this field is a table parameter |
boolean |
isTable(String field_name)
Checks whether this field is a table parameter |
protected void |
printHTML(PrintWriter os,
IMetaData m,
int level)
Outputs record as a HTML table |
protected void |
printHTML(PrintWriter os,
IMetaData m,
int level,
int print_flags)
Outputs record as a HTML table |
protected void |
setDataBufferLength(int index,
int dataBufferLength)
This method is for internal use only. |
protected void |
setDataBufferOffset(int index,
int dataBufferOffset)
This method is for internal use only. |
void |
setExtendedFieldMetaData(com.sap.mw.jco.IExtendedFieldMetaData extended_field_meta_data,
int index)
Sets the extended field meta data object |
void |
setExtendedFieldMetaData(com.sap.mw.jco.IExtendedFieldMetaData extended_field_meta_data,
String field_name)
Sets the extended field meta data object |
void |
setFlags(int index,
int flags)
Sets the flags for the specified field |
protected void |
setName(String name)
This method is for internal use only. |
void |
setNestedType1Structure(boolean isType1)
Sets that this MetaData is a nested TYPE1 structure, which is a structure with a fixed length in memory, but with a nested layout |
void |
setTabLength(int tab_length)
Sets the total length of a structure or single row of a table |
String |
toString()
Converts to a string |
protected String |
toString(int level)
Converts to a string |
void |
writeHTML(String html_filename)
Dump the meta data to a file This method comes in handy for debugging purposes. |
void |
writeHTML(Writer writer)
Dump the meta data to a stream This method comes in handy for debugging purposes. |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected String[] name
protected Object[] tab_meta
protected int[] offset
protected int[] length
protected int[] boffset
protected int[] blength
protected byte[] type
protected byte[] decimals
protected byte[] oindex
protected byte[] flags
protected String[] defaults
protected String[] description
protected com.sap.mw.jco.IExtendedFieldMetaData[] extended_field_meta_data
protected int num_fields
protected int num_odata
protected int tab_length
protected long type_handle
protected String rec_name
protected String type_name
protected JCO.MetaData.Type1Data type1_data
protected Hashtable hash_of_indices
protected static int PRINT_HEADER_NAME
protected static int PRINT_HEADER_TYPE
protected static int PRINT_HEADER_LENGTH
protected static int PRINT_HEADER_OFFSET
protected static int PRINT_HEADER_DECIMALS
protected static int PRINT_HEADER_DEFAULT
protected static int PRINT_HEADER_INTERNAL_LENGTH
protected static int PRINT_HEADER_INTERNAL_OFFSET
protected static int PRINT_HEADER_ALL
protected long last_active_timestamp
protected byte unicode_type
| Constructor Detail |
protected JCO.MetaData()
public JCO.MetaData(String rec_name)
rec_name - the name of the table/structure
public JCO.MetaData(String rec_name,
int capacity)
rec_name - the name of the table/structurecapacity - no. of data fields to preallocatepublic JCO.MetaData(IMetaData obj)
obj - the MetaData object to copy the values from| Method Detail |
protected void internalSize(com.sap.mw.jco.JCO.DataSize size)
protected int getObjectId()
protected String getUnicodeTypeAsString()
protected byte getUnicodeType()
public boolean equals(Object obj)
obj - the object to compare for equality with this object
public int hashCode()
public Object clone()
clone in interface IMetaDataprotected void copy(IMetaData obj)
obj - the meta data object to copy frompublic final int indexOf(String field_name)
indexOf in interface IMetaDatafield_name - the name of the field for which the index is being returned
JCO.Exception - thrown if a field with the specified name does not existpublic final boolean hasField(String field_name)
hasField in interface IMetaDatafield_name - the name of the field to check for existence
public String getName()
getName in interface IMetaDatapublic String getLineTypeName()
public int getFieldCount()
getFieldCount in interface IMetaDatapublic int getNumFields()
public int getCapacity()
public IMetaData getMetaData()
public void addInfo(String name,
int type,
int length)
name - Field name for identifying this data fieldtype - Data field typelength - Data field internal lengthaddInfo(String name, int type, int charlength, int length, int offset, int decimals, String sdefault, String description, int flags,Object tab_meta, IExtendedFieldMetaData extended),
JCO.Repository
public void addInfo(String name,
int type,
int length,
int offset)
name - Field name for identifying this data fieldtype - Data field typelength - Data field internal length in bytesoffset - Data field offset in the internal JCO data bufferaddInfo(String name, int type, int charlength, int length, int offset, int decimals, String sdefault, String description, int flags,Object tab_meta, IExtendedFieldMetaData extended),
JCO.Repository
public void addInfo(String name,
int type,
int length,
int offset,
int decimals)
name - Field name for identifying this data fieldtype - Data field typelength - Data field internal length in bytesoffset - Data field offset in the internal JCO data bufferdecimals - Data field number of decimals (only necessary for the data types JCO.TYPE_BCD and JCO.TYPE_FLOAT)addInfo(String name, int type, int charlength, int length, int offset, int decimals, String sdefault, String description, int flags,Object tab_meta, IExtendedFieldMetaData extended),
JCO.Repository
public void addInfo(String name,
int type,
int length,
int offset,
int decimals,
int flags,
Object tab_meta)
addInfo in interface IMetaDataname - Field name for identifying this data fieldtype - Data field typelength - Data field internal length in bytesoffset - Data field offset in the internal JCO data bufferdecimals - Data field number of decimals (only necessary for the data types JCO.TYPE_BCD and JCO.TYPE_FLOAT)flags - Bit-vector for additional attributes of the field. The vector can be ORed together from| Flag | Description |
|---|---|
| IMPORT_PARAMETER | The field is an import parameter |
| EXPORT_PARAMETER | The field is an export parameter |
| OPTIONAL_PARAMETER | The field is optional parameter |
| INACTIVATE_PARAMETER | Only used for table parameter, indicating that the content of the table will not be sent to the server |
tab_meta - Meta-data if the field is a complex field, i.e. structure or table, null otherwise
If this field is a structure or table object only the meta data of those objects will we copied
not reference to the objects ! Use setValue(...) to actually set the container object.addInfo(String name, int type, int charlength, int length, int offset, int decimals, String sdefault, String description, int flags,Object tab_meta, IExtendedFieldMetaData extended),
JCO.Repository
public void addInfo(String name,
int type,
int length,
int offset,
int decimals,
String sdefault,
String description,
int flags,
Object tab_meta,
com.sap.mw.jco.IExtendedFieldMetaData extended)
addInfo in interface IMetaDataname - Field name for identifying this data fieldtype - Data field typelength - Data field internal length in bytesoffset - Data field offset in the internal JCO data bufferdecimals - Data field number of decimals (only necessary for the data types JCO.TYPE_BCD and JCO.TYPE_FLOAT)sdefault - Data Field default valuedescription - Description of data fieldflags - Bit-vector for additional attributes of the field. The vector can be ORed together from| Flag | Description |
|---|---|
| IMPORT_PARAMETER | The field is an import parameter |
| EXPORT_PARAMETER | The field is an export parameter |
| OPTIONAL_PARAMETER | The field is optional parameter |
| INACTIVATE_PARAMETER | Only used for table parameter, indicating that the content of the table will not be sent to the server |
tab_meta - Meta-data if the field is a complex field, i.e. structure or table, null otherwise.
If this field is a structure or table object only the meta data of those objects will we copied
not reference to the objects ! Use setValue(...) to actually set the container object.extended - extended meta data for this field or null if none available.addInfo(String name, int type, int charlength, int length, int offset, int decimals, String sdefault, String description, int flags,Object tab_meta, IExtendedFieldMetaData extended),
JCO.Repository
public void addInfo(String name,
int type,
int charlength,
int length,
int offset,
int decimals,
String sdefault,
String description,
int flags,
Object tab_meta,
com.sap.mw.jco.IExtendedFieldMetaData extended)
name - Field name for identifying this data fieldtype - Data field typecharlength - Data field length in character unitslength - Data field internal length in bytesoffset - Data field offset in the internal JCO data bufferdecimals - Data field number of decimals (only necessary for the data types JCO.TYPE_BCD and JCO.TYPE_FLOAT)sdefault - Data Field default valuedescription - Description of data fieldflags - Bit-vector for additional attributes of the field. The vector can be ORed together from| Flag | Description |
|---|---|
| IMPORT_PARAMETER | The field is an import parameter |
| EXPORT_PARAMETER | The field is an export parameter |
| OPTIONAL_PARAMETER | The field is optional parameter |
| INACTIVATE_PARAMETER | Only used for table parameter, indicating that the content of the table will not be sent to the server |
tab_meta - Meta-data if the field is a complex field, i.e. structure or table, null otherwise.
If this field is a structure or table object only the meta data of those objects will we copied
not reference to the objects ! Use setValue(...) to actually set the container object.extended - extended meta data for this field or null if none available.
public void addInfo(String name,
char type,
int offset,
int length)
name - Field name for identifying this data fieldtype - ABAP field type as characteroffset - Data field offset in the internal JCO data bufferlength - Data field internal length in bytes
public void addInfo(String name,
char type,
int offset,
int length,
int decimals)
name - Field name for identifying this data fieldtype - ABAP field type as a characteroffset - Data field offset in the internal JCO data bufferlength - Data field internal length in bytesdecimals - Data field number of decimals (only necessary for the data types JCO.TYPE_BCD and JCO.TYPE_FLOAT)public String getName(int index)
getName in interface IMetaDataindex - the index of the field
public String getTabName(int index)
getTabName in interface IMetaDataindex - the index of the field
public String getTabName(String field_name)
getTabName in interface IMetaDatafield_name - the name of the field
JCO.Exception - thrown if a field with the specified name does not existpublic IMetaData getMetaData(int index)
getMetaData in interface IMetaDataindex - the index of the field
public IMetaData getMetaData(String field_name)
getMetaData in interface IMetaDatafield_name - the name of the field
JCO.Exception - thrown if a field with the specified name does not existpublic int getLength(int index)
getLength in interface IMetaDataindex - the index of the field
public int getLength(String field_name)
getLength in interface IMetaDatafield_name - the name of the field
JCO.Exception - thrown if a field with the specified name does not existpublic int getInternalLength(int index)
getInternalLength in interface IMetaDataindex - the index of the field
public int getInternalLength(String field_name)
getInternalLength in interface IMetaDatafield_name - the name of the field
JCO.Exception - thrown if a field with the specified name does not existpublic int getOffset(int index)
getOffset in interface IMetaDataindex - the index of the field
public int getOffset(String field_name)
getOffset in interface IMetaDatafield_name - the name of the field
JCO.Exception - thrown if a field with the specified name does not existprotected int getDataBufferLength(int index)
index - the index of the field whose internal data
buffer length is to be returned.protected int getDataBufferOffset(int index)
index - the index of the field whose internal data
buffer offset is to be returned.
protected void setDataBufferLength(int index,
int dataBufferLength)
index - the index of the field whose internal data
buffer length is to be set.dataBufferLength - the data buffer length value to be set.
protected void setDataBufferOffset(int index,
int dataBufferOffset)
index - the index of the field whose internal data
buffer offset is to be set.dataBufferOffset - the data buffer offset value to be set.protected void setName(String name)
name - the name to be set.public int getType(int index)
getType in interface IMetaDataindex - the index of the field
public int getType(String field_name)
getType in interface IMetaDatafield_name - the name of the field
JCO.Exception - thrown if a field with the specified name does not existpublic String getTypeAsString(int index)
getTypeAsString in interface IMetaDataindex - the index of the field
public String getTypeAsString(String field_name)
getTypeAsString in interface IMetaDatafield_name - the name of the field
JCO.Exception - thrown if a field with the specified name does not existpublic int getDecimals(int index)
getDecimals in interface IMetaDataindex - the index of the field
public int getDecimals(String field_name)
getDecimals in interface IMetaDatafield_name - the name of the field
JCO.Exception - thrown if a field with the specified name does not existpublic String getDefault(int index)
getDefault in interface IMetaDataindex - the index of the field
public String getDefault(String field_name)
getDefault in interface IMetaDatafield_name - the name of the field
JCO.Exception - thrown if a field with the specified name does not existpublic String getDescription(int index)
getDescription in interface IMetaDataindex - the index of the field
public String getDescription(String field_name)
getDescription in interface IMetaDatafield_name - the name of the field
JCO.Exception - thrown if a field with the specified name does not existpublic int getFlags(int index)
index - the index of the fieldpublic int getFlags(String field_name)
field_name - the name of the field
JCO.Exception - thrown if a field with the specified name does not existpublic com.sap.mw.jco.IExtendedFieldMetaData getExtendedFieldMetaData(int index)
getExtendedFieldMetaData in interface IMetaDataindex - the index of the field
public com.sap.mw.jco.IExtendedFieldMetaData getExtendedFieldMetaData(String field_name)
getExtendedFieldMetaData in interface IMetaDatafield_name - the name of the field
JCO.Exception - thrown if a field with the specified name does not exist
public void setExtendedFieldMetaData(com.sap.mw.jco.IExtendedFieldMetaData extended_field_meta_data,
int index)
extended_field_meta_data - the extended field meta data object or null if not availableindex - the index of the field
public void setExtendedFieldMetaData(com.sap.mw.jco.IExtendedFieldMetaData extended_field_meta_data,
String field_name)
extended_field_meta_data - the extended field meta data object or null if not availablefield_name - the name of the fieldpublic boolean isOptional(int index)
isOptional in interface IMetaDataindex - the index of the field
public boolean isOptional(String field_name)
isOptional in interface IMetaDatafield_name - the name of the field
JCO.Exception - thrown if a field with the specified name does not existpublic boolean isImport(int index)
isImport in interface IMetaDataindex - the index of the field
public boolean isImport(String field_name)
isImport in interface IMetaDatafield_name - the name of the field
JCO.Exception - thrown if a field with the specified name does not existpublic boolean isExport(int index)
isExport in interface IMetaDataindex - the index of the field
public boolean isExport(String field_name)
isExport in interface IMetaDatafield_name - the name of the field
JCO.Exception - thrown if a field with the specified name does not existpublic boolean isStructure(int index)
isStructure in interface IMetaDataindex - the index of the field
public boolean isStructure(String field_name)
isStructure in interface IMetaDatafield_name - the name of the field
JCO.Exception - thrown if a field with the specified name does not existpublic boolean isNestedType1Structure(int index)
isNestedType1Structure in interface IMetaDataindex - the index of the field
true if the specified field is a nested TYPE1 structure, false otherwisepublic boolean isNestedType1Structure(String field_name)
isNestedType1Structure in interface IMetaDatafield_name - the name of the field
true if the specified field is a nested TYPE1 structure, false otherwisepublic boolean isTable(int index)
isTable in interface IMetaDataindex - the index of the field
public boolean isTable(String field_name)
isTable in interface IMetaDatafield_name - the name of the field
JCO.Exception - thrown if a field with the specified name does not existpublic boolean isException(int index)
isException in interface IMetaDataindex - the index of the field
public boolean isException(String field_name)
isException in interface IMetaDatafield_name - the name of the field
JCO.Exception - thrown if a field with the specified name does not existpublic int getTabLength()
getTabLength in interface IMetaDatapublic boolean isNestedType1Structure()
isNestedType1Structure in interface IMetaDatatrue if the MetaData is a nested TYPE1 structure, false otherwisepublic boolean isActive(int index)
index - the index of the field
public boolean isActive(String field_name)
field_name - the name of the field
JCO.Exception - thrown if a field with the specified name does not existpublic boolean isInitialized(int index)
index - the index of the field
public boolean isInitialized(String field_name)
field_name - the name of the field
JCO.Exception - thrown if a field with the specified name does not exist
public void setFlags(int index,
int flags)
index - the index of the fieldflags - the flags to set for the fieldpublic void setTabLength(int tab_length)
tab_length - the new tab length
public void setNestedType1Structure(boolean isType1)
isType1 - true if the MetaData is a nested TYPE1 structure, false otherwisepublic String toString()
toString in interface IMetaDataprotected String toString(int level)
public void writeHTML(String html_filename)
html_filename - the file to write to
JCO.Exception - thrown if something went wrong
public void writeHTML(Writer writer)
throws IOException
writer - the stream to write to
IOException - thrown if an I/O error occurred
JCO.Exception - thrown if something else went wrong
protected void printHTML(PrintWriter os,
IMetaData m,
int level)
os - the PrintWriter output stream
protected void printHTML(PrintWriter os,
IMetaData m,
int level,
int print_flags)
os - the PrintWriter output stream
|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||