|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.sap.ip.me.api.persist.meta.DescriptorRuntime
Factory for AttributeDescriptor, ClassDescriptor, LinkDescriptor. Once created, ClassDescriptor are held internally and may be read again.
AttributeDescriptor,
ClasDescriptor,
LinkDescriptor| Field Summary | |
static int |
MAX_ATTRIB_MULTIPLICITY
Description of the Field |
| Constructor Summary | |
DescriptorRuntime()
|
|
| Method Summary | |
abstract boolean |
containsClassDescriptor(java.lang.String classtype)
Checks if a ClassDescriptor instance has already been created for a classtype |
abstract AttributeDescriptor |
createAttributeDescriptor(java.lang.String name,
AttributeType type,
int mult,
int length)
Creates an instance of AttributeDescriptor |
abstract AttributeDescriptor |
createAttributeDescriptor(java.lang.String name,
AttributeType type,
int mult,
int length,
boolean isIndex)
Creates an instance of AttributeDescriptor |
abstract AttributeDescriptor |
createAttributeDescriptor(java.lang.String name,
AttributeType type,
int mult,
int length,
int dec,
boolean isIndex)
|
abstract ClassDescriptor |
createClassDescriptor(java.lang.String classtype,
AttributeDescriptor[] attributes)
Creates an instance of ClassDescriptor. |
abstract ClassDescriptor |
createClassDescriptor(java.lang.String classtype,
AttributeDescriptor[] attributes,
LinkDescriptor[] links)
Creates an instance of ClassDescriptor. |
abstract ClassDescriptor |
createClassDescriptor(java.lang.String classtype,
AttributeDescriptor[] a,
LinkDescriptor[] l,
int keyLen)
|
abstract ClassDescriptor |
createClassDescriptor(java.lang.String classtype,
LinkDescriptor[] links)
Creates an instance of ClassDescriptor. |
abstract LinkDescriptor |
createLinkDescriptor(java.lang.String name,
java.lang.String classtype,
MultiplicityType multiplicity,
boolean isDependent)
Creates an instance of LinkDescriptor |
abstract ClassDescriptor |
getClassDescriptor(java.lang.String classtype)
Gets a ClassDescriptor instance for a defined classtype |
static DescriptorRuntime |
getInstance()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int MAX_ATTRIB_MULTIPLICITY
| Constructor Detail |
public DescriptorRuntime()
| Method Detail |
public static final DescriptorRuntime getInstance()
public abstract AttributeDescriptor createAttributeDescriptor(java.lang.String name,
AttributeType type,
int mult,
int length)
throws DescriptorException
name - Description of the Parametertype - Description of the Parametermult - Description of the Parameterlength - Description of the Parameter
DescriptorException
public abstract AttributeDescriptor createAttributeDescriptor(java.lang.String name,
AttributeType type,
int mult,
int length,
int dec,
boolean isIndex)
throws DescriptorException
DescriptorException
public abstract AttributeDescriptor createAttributeDescriptor(java.lang.String name,
AttributeType type,
int mult,
int length,
boolean isIndex)
throws DescriptorException
name - Description of the Parametertype - Description of the Parametermult - Description of the Parameterlength - Description of the Parameter
DescriptorException
public abstract LinkDescriptor createLinkDescriptor(java.lang.String name,
java.lang.String classtype,
MultiplicityType multiplicity,
boolean isDependent)
throws DescriptorException
name - Description of the Parameterclasstype - Description of the Parametermultiplicity - Description of the ParameterisDependent - Description of the Parameter
DescriptorException
public abstract ClassDescriptor createClassDescriptor(java.lang.String classtype,
AttributeDescriptor[] attributes)
throws DescriptorException
classtype - Description of the Parameterattributes - Description of the Parameter
DescriptorException
public abstract ClassDescriptor createClassDescriptor(java.lang.String classtype,
LinkDescriptor[] links)
throws DescriptorException
classtype - Description of the Parameterlinks - Description of the Parameter
DescriptorException
public abstract ClassDescriptor createClassDescriptor(java.lang.String classtype,
AttributeDescriptor[] a,
LinkDescriptor[] l,
int keyLen)
throws DescriptorException
DescriptorException
public abstract ClassDescriptor createClassDescriptor(java.lang.String classtype,
AttributeDescriptor[] attributes,
LinkDescriptor[] links)
throws DescriptorException
classtype - Description of the Parameterattributes - Description of the Parameterlinks - Description of the Parameter
DescriptorExceptionpublic abstract ClassDescriptor getClassDescriptor(java.lang.String classtype)
classtype - Description of the Parameter
public abstract boolean containsClassDescriptor(java.lang.String classtype)
classtype - Description of the Parameter
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||