|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectuk.ac.ic.doc.automed.reps.TypeHierarchy.TypeObject
public class TypeHierarchy.TypeObject
The type object class This class stored information about type objects in a type hierarchy Using the notation in the technical reports on types: hdmEquiv is =, parentName is <
| Constructor Summary | |
|---|---|
TypeHierarchy.TypeObject(int tid,
int modelID,
java.lang.String name,
int hdmEquiv,
int parentTid,
java.lang.String parentName,
java.lang.String baseName)
Construcutor for a new TypeObject |
|
| Method Summary | |
|---|---|
java.lang.String |
getBaseTypeName()
Get the name of the base type for this type object |
int |
getHDMEquiv()
Get the type id of the HDM equivalent of this type |
PersistentKey |
getKey()
Implements the PersistentObject interface |
int |
getMID()
Get the id of the model the type comes from |
java.lang.String |
getName()
Get the name of the type |
java.lang.String |
getParentName()
Get the name of the parent type |
int |
getParentTid()
Get the type id of the parent of this type |
java.util.Map |
getPersistentAttributes()
Implements the PersistentObject interface |
int |
getTypeId()
Get the type of this object |
void |
setHDMEquiv(TypeHierarchy cth,
int hdmEquiv)
Set the type id of the HDM equivalent of this type |
void |
setTypeId(int tid)
Set the type id of this object |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TypeHierarchy.TypeObject(int tid,
int modelID,
java.lang.String name,
int hdmEquiv,
int parentTid,
java.lang.String parentName,
java.lang.String baseName)
| Method Detail |
|---|
public int getTypeId()
public void setTypeId(int tid)
public java.lang.String getName()
throws NotFoundException
NotFoundException
public java.lang.String getParentName()
throws NotFoundException
NotFoundException
public int getMID()
throws NotFoundException
NotFoundException
public int getParentTid()
throws NotFoundException
NotFoundException
public void setHDMEquiv(TypeHierarchy cth,
int hdmEquiv)
throws NotFoundException
The - common type hierarchy
NotFoundException
public int getHDMEquiv()
throws NotFoundException
NotFoundException
public java.lang.String getBaseTypeName()
throws NotFoundException
NotFoundExceptionpublic java.util.Map getPersistentAttributes()
PersistentObject interface
getPersistentAttributes in interface PersistentObjectPersistentObject.getPersistentAttributes()public PersistentKey getKey()
PersistentObject interface
getKey in interface PersistentObjectuk.ac.ic.doc.automed.wrappersPersistentObject#getKey()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||