public interface MClassFactory
MClassDescription
and MAssociationDescription
instances can be created in one of two ways:
MClassDescription
. MClassFactory
. If the description class was created in
this manner, the application can add attributes.
You can use MClassFactory
to create class and association
descriptions MClassFactory
to create primitive objects.
Both can be accessed via the MClassRegistry
.
Modifier and Type | Method and Description |
---|---|
MMetaDescription |
addClassAttribute(MMetaDescription classDesc,
java.lang.String attName,
com.tibco.infra.base.GlobalName attType,
java.lang.String defaultValue,
boolean isKey,
boolean isReadable,
boolean isWritable)
Internal use only - DON'T DOCUMENT
|
MMetaDescription |
addClassAttribute(MMetaDescription classDesc,
java.lang.String attName,
java.lang.String attType,
java.lang.String defaultValue,
boolean isKey,
boolean isReadable,
boolean isWritable) |
MMetaDescription |
addClassOperation(MMetaDescription classDesc,
java.lang.String oppName,
com.tibco.infra.base.GlobalName returnType,
boolean oneway)
Internal use only - DON'T DOCUMENT
|
MMetaDescription |
addClassOperation(MMetaDescription classDesc,
java.lang.String oppName,
java.lang.String returnType,
boolean oneway) |
MMetaDescription |
addOperationException(MMetaDescription operDesc,
java.lang.String exceptionName,
com.tibco.infra.base.GlobalName exceptionType)
Internal use only - DON'T DOCUMENT
|
MMetaDescription |
addOperationException(MMetaDescription operDesc,
java.lang.String exceptionName,
java.lang.String exceptionType) |
MMetaDescription |
addOperationParameter(MMetaDescription operDesc,
java.lang.String paramName,
com.tibco.infra.base.GlobalName paramType,
java.lang.String defaultValue,
java.lang.String direction)
Internal use only - DON'T DOCUMENT
|
MMetaDescription |
addOperationParameter(MMetaDescription operDesc,
java.lang.String paramName,
java.lang.String paramType,
java.lang.String defaultValue,
java.lang.String direction) |
void |
addProperty(MMetaDescription metaDesc,
java.lang.String propName,
java.lang.String propValue)
Internal use only - DON'T DOCUMENT
|
MMetaDescription |
addUnionMember(MMetaDescription unionDesc,
java.lang.String memberName,
com.tibco.infra.base.GlobalName memberType)
Internal use only - DON'T DOCUMENT
|
MMetaDescription |
addUnionMember(MMetaDescription unionDesc,
java.lang.String memberName,
java.lang.String memberType) |
void |
loadMetadata(com.tibco.infra.base.GlobalName url)
Deprecated.
as of TIBCO Adapter SDK 5.0.0
|
void |
loadMetadata(java.lang.String url)
Given a URL for a metadata class, load the class into the class factory.
|
MAssociationDescription |
newAssociationDescription(com.tibco.infra.base.GlobalName assocName)
Deprecated.
as of TIBCO Adapter SDK 5.0.0
|
MAssociationDescription |
newAssociationDescription(java.lang.String assocName)
Create an association description.
|
MMetaDescription |
newAssociationEndpoint(java.lang.String rolename,
com.tibco.infra.base.GlobalName className,
int minMultiplicity,
int maxMultiplicity,
java.lang.String type,
boolean isNavigable,
java.util.Vector keyfields)
Internal use only - DON'T DOCUMENT
|
MMetaDescription |
newAssociationEndpoint(java.lang.String rolename,
java.lang.String className,
int minMultiplicity,
int maxMultiplicity,
java.lang.String type,
boolean isNavigable,
java.util.Vector keyfields) |
MModeledClassDescription |
newClassDescription(com.tibco.infra.base.GlobalName className,
com.tibco.infra.base.GlobalName superclassName)
Deprecated.
as of TIBCO Adapter SDK 5.0.0
|
MModeledClassDescription |
newClassDescription(com.tibco.infra.base.GlobalName className,
MClassDescription superclass)
Deprecated.
as of TIBCO Adapter SDK 5.0.0
|
MModeledClassDescription |
newClassDescription(java.lang.String className,
MClassDescription superclass)
Create a class description instance and add it to the class registry.
|
MModeledClassDescription |
newClassDescription(java.lang.String className,
java.lang.String superclassName)
Create a class description instance and add it to the class registry.
|
MSequenceDescription |
newSequenceDescription(java.lang.String name,
MClassDescription containedClass,
int sizeLimit)
Create a sequence description and added to the class registry.
|
MSequenceDescription |
newSequenceDescription(java.lang.String name,
java.lang.String containedClassName,
int sizeLimit)
Create a sequence description and added to the class registry.
|
MUnionDescription |
newUnionDescription(com.tibco.infra.base.GlobalName className)
Deprecated.
as of TIBCO Adapter SDK 5.0.0
|
MUnionDescription |
newUnionDescription(java.lang.String className)
Create a union description and adds it to the class registry.
|
void |
setAssociationEndpointA(MMetaDescription associationDesc,
MMetaDescription associationEndpointDesc)
Internal use only - DON'T DOCUMENT
|
void |
setAssociationEndpointB(MMetaDescription associationDesc,
MMetaDescription associationEndpointDesc)
Internal use only - DON'T DOCUMENT
|
MMetaDescription addClassAttribute(MMetaDescription classDesc, java.lang.String attName, com.tibco.infra.base.GlobalName attType, java.lang.String defaultValue, boolean isKey, boolean isReadable, boolean isWritable) throws MException
MException
MMetaDescription addClassAttribute(MMetaDescription classDesc, java.lang.String attName, java.lang.String attType, java.lang.String defaultValue, boolean isKey, boolean isReadable, boolean isWritable) throws MException
MException
MMetaDescription addClassOperation(MMetaDescription classDesc, java.lang.String oppName, com.tibco.infra.base.GlobalName returnType, boolean oneway) throws MException
MException
MMetaDescription addClassOperation(MMetaDescription classDesc, java.lang.String oppName, java.lang.String returnType, boolean oneway) throws MException
MException
MMetaDescription addOperationException(MMetaDescription operDesc, java.lang.String exceptionName, com.tibco.infra.base.GlobalName exceptionType) throws MException
MException
MMetaDescription addOperationException(MMetaDescription operDesc, java.lang.String exceptionName, java.lang.String exceptionType) throws MException
MException
MMetaDescription addOperationParameter(MMetaDescription operDesc, java.lang.String paramName, com.tibco.infra.base.GlobalName paramType, java.lang.String defaultValue, java.lang.String direction) throws MException
MException
MMetaDescription addOperationParameter(MMetaDescription operDesc, java.lang.String paramName, java.lang.String paramType, java.lang.String defaultValue, java.lang.String direction) throws MException
MException
void addProperty(MMetaDescription metaDesc, java.lang.String propName, java.lang.String propValue) throws MException
MException
MMetaDescription addUnionMember(MMetaDescription unionDesc, java.lang.String memberName, com.tibco.infra.base.GlobalName memberType) throws MException
MException
MMetaDescription addUnionMember(MMetaDescription unionDesc, java.lang.String memberName, java.lang.String memberType) throws MException
MException
MAssociationDescription newAssociationDescription(com.tibco.infra.base.GlobalName assocName) throws MException
MException
MAssociationDescription newAssociationDescription(java.lang.String assocName) throws MException
assocName
- Name for this association description to be created.MException
MMetaDescription newAssociationEndpoint(java.lang.String rolename, com.tibco.infra.base.GlobalName className, int minMultiplicity, int maxMultiplicity, java.lang.String type, boolean isNavigable, java.util.Vector keyfields) throws MException
Create an association description. Use MAssociationDescription.addEndpointA() and MAssociationDescription.addEndpointB() to attach endpoint descriptions.
MException
MMetaDescription newAssociationEndpoint(java.lang.String rolename, java.lang.String className, int minMultiplicity, int maxMultiplicity, java.lang.String type, boolean isNavigable, java.util.Vector keyfields) throws MException
MException
MModeledClassDescription newClassDescription(com.tibco.infra.base.GlobalName className, com.tibco.infra.base.GlobalName superclassName) throws MException
MException
MModeledClassDescription newClassDescription(java.lang.String className, java.lang.String superclassName) throws MException
className
- Name of the class description to be created.superclassName
- Name of a class of which the class to be created is a subclass. Can be null.MException
MModeledClassDescription newClassDescription(com.tibco.infra.base.GlobalName className, MClassDescription superclass) throws MException
MException
MModeledClassDescription newClassDescription(java.lang.String className, MClassDescription superclass) throws MException
className
- Name of the class description to be created.superclass
- Class of which the class to be created is a subclass. Can be null.MException
MSequenceDescription newSequenceDescription(java.lang.String name, java.lang.String containedClassName, int sizeLimit) throws MException
name
- Full name of this sequence class description. For example:
/tibco/public/sequence/ae/class/ae/sequence[orderLine]
containedClassName
- The full name of the object held by this sequence.
For example: /tibco/public/scalar/ae/i4
sizeLimit
- Size limit for sequences to be created based on this
MSequenceDescription
. If there is no size limit,
use MSequenceDescription.NO_SIZE_LIMIT
.MException
MSequenceDescription newSequenceDescription(java.lang.String name, MClassDescription containedClass, int sizeLimit) throws MException
name
- Full name of this sequence class description. For example:
/tibco/public/sequence/ae/class/ae/sequence[orderLine]
containedClass
- The full name of the object held by this sequence.
For example: /tibco/public/scalar/ae/i4
sizeLimit
- Size limit for sequences to be created based on this
MSequenceDescription
. If there is no size limit,
use MSequenceDescription.NO_SIZE_LIMIT
.MException
MUnionDescription newUnionDescription(com.tibco.infra.base.GlobalName className) throws MException
MException
MUnionDescription newUnionDescription(java.lang.String className) throws MException
className
- Name of the union description to be created.MException
void setAssociationEndpointA(MMetaDescription associationDesc, MMetaDescription associationEndpointDesc) throws MException
MException
void setAssociationEndpointB(MMetaDescription associationDesc, MMetaDescription associationEndpointDesc) throws MException
MException
void loadMetadata(java.lang.String url) throws MException
url
- url to be loaded from.MException
void loadMetadata(com.tibco.infra.base.GlobalName url) throws MException
MException