public abstract class MBaseClassDescription extends MRegistryObjectWithProperties implements MClassDescription, MObjWithIdSort.HasIdString
MBaseClassDescription should be the base class for all other MClassDescription classes.
Modifier and Type | Field and Description |
---|---|
protected DataType |
dataType |
protected java.lang.String |
m_xsiTypeName |
protected java.lang.String |
m_xsiTypeRelPath |
Modifier | Constructor and Description |
---|---|
protected |
MBaseClassDescription(MClassRegistry clsReg,
java.lang.String className)
Constructor - make lazy evaluation of classes possible
this constructor assumes that the only relative name of
the class is specified.
|
Modifier and Type | Method and Description |
---|---|
void |
addDefaultValue(java.lang.String attVal,
java.lang.Object defaultValue) |
void |
addToClassRegistry()
Add this class description to the default class registry
|
java.lang.Object |
construct()
Construct an object based on the class description.
|
com.tibco.infra.base.GlobalName |
getClassDescriptionGlobalName()
Return the GlobalName for class
|
java.lang.String |
getClassDescriptionName()
Return the class name in the short form
|
java.lang.String |
getClassDescriptionShortName()
Return the short for class
|
MClassRegistry |
getClassRegistry() |
DataType |
getDataType() |
java.util.Enumeration |
getDefaultList() |
java.lang.Object |
getDefaultValue(java.lang.String key) |
java.lang.String |
getFullName()
Return the full name of the location.
|
java.lang.String |
getIdAsString()
Return the id of the object as a string
|
java.lang.String |
getPathName()
Return the full name without the last part.
|
java.lang.String |
getShortName()
Return the last part of the name.
|
java.lang.String |
getXsiTypeName()
Deprecated.
internal use only - do not document
|
java.lang.String |
getXsiTypeRelPath()
Deprecated.
internal use only - do not document
|
boolean |
isAssignable(MClassDescription iClDesc,
java.lang.Object value) |
boolean |
isSubclass(MClassDescription possibleSuperclass)
Determine whether this class is a subclass of
possibleSuperclass
|
boolean |
isSuperclass(MClassDescription possibleSubclass) |
void |
removeFromClassRegistry()
Remove this class description from the default class registry
|
void |
setXsiTypeName(java.lang.String xsiTypeName)
Deprecated.
internal use only - do not document
|
void |
setXsiTypeRelPath(java.lang.String xsiTypeRelPath)
Deprecated.
internal use only - do not document
|
addProperty, getProperties, getProperty, getPropertyCount, getPropertyNames, getRegistry, isOK, isOK
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getProperties, getProperty, getPropertyCount, getPropertyNames, isOK, isOK
protected java.lang.String m_xsiTypeRelPath
protected java.lang.String m_xsiTypeName
protected DataType dataType
protected MBaseClassDescription(MClassRegistry clsReg, java.lang.String className)
public com.tibco.infra.base.GlobalName getClassDescriptionGlobalName()
getClassDescriptionGlobalName
in interface MClassDescription
public void setXsiTypeName(java.lang.String xsiTypeName)
setXsiTypeName
in interface MClassDescription
public void setXsiTypeRelPath(java.lang.String xsiTypeRelPath)
setXsiTypeRelPath
in interface MClassDescription
public java.lang.String getXsiTypeName()
getXsiTypeName
in interface MClassDescription
public java.lang.String getXsiTypeRelPath()
getXsiTypeRelPath
in interface MClassDescription
public java.lang.String getClassDescriptionShortName()
getClassDescriptionShortName
in interface MClassDescription
public java.lang.String getFullName()
MClassDescription
For a class /tibco/public/class/ae/zap/Order
.
FullName is /tibco/public/class/ae/zap/Order
.
getFullName
in interface MClassDescription
public java.lang.String getShortName()
MClassDescription
For a class /tibco/public/class/ae/zap/Order
.
ShortName is Order
.
getShortName
in interface MClassDescription
public java.lang.String getPathName()
MClassDescription
For a class /tibco/public/class/ae/zap/Order
.
PathName is
getPathName
in interface MClassDescription
public java.lang.String getClassDescriptionName()
getClassDescriptionName
in interface MClassDescription
public java.lang.String getIdAsString()
getIdAsString
in interface MObjWithIdSort.HasIdString
public java.lang.Object construct() throws MConstructionException
construct
in interface MClassDescription
MConstructionException
- On any failure to create an instance of this classpublic boolean isSuperclass(MClassDescription possibleSubclass)
isSuperclass
in interface MClassDescription
public boolean isSubclass(MClassDescription possibleSuperclass)
isSubclass
in interface MClassDescription
public boolean isAssignable(MClassDescription iClDesc, java.lang.Object value)
isAssignable
in interface MClassDescription
public void addToClassRegistry()
public void removeFromClassRegistry()
public DataType getDataType()
getDataType
in interface MClassDescription
public MClassRegistry getClassRegistry()
getClassRegistry
in interface MClassDescription
public void addDefaultValue(java.lang.String attVal, java.lang.Object defaultValue)
addDefaultValue
in interface MClassDescription
public java.util.Enumeration getDefaultList()
getDefaultList
in interface MClassDescription
public java.lang.Object getDefaultValue(java.lang.String key)
getDefaultValue
in interface MClassDescription