|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--uk.ac.ic.doc.automed.reps.Construct
|
+--uk.ac.ic.doc.automed.reps.ConstructWithModelingProgram
The class describing Construct objects together with their graphical representations/ModelingProgram objects
Construct,
ModelingProgram| Field Summary |
| Fields inherited from class uk.ac.ic.doc.automed.reps.Construct |
CLASS_ALTERNATION, CLASS_CONSTRAINT, CLASS_LINK, CLASS_LINK_NODAL, CLASS_MAXIMUM, CLASS_MINIMUM, CLASS_NODAL, CLASS_SEQUENCE, CONSTRUCT_TYPE_ANY, CONSTRUCT_TYPE_ARRAY, CONSTRUCT_TYPE_REFERENCE, ConstructAny, ConstructArray, ConstructReference |
| Constructor Summary | |
protected |
ConstructWithModelingProgram(Model model,
int cid,
java.lang.String constructName,
int constructClass,
boolean constructIsRoot)
Creates a new Construct. |
| Method Summary | |
static Construct |
getConstructByCID(int cid)
|
ModelingProgram |
getModelingProgram()
Returns the ModelingProgram that defines the graphical representation of this Construct. |
void |
remove()
Removes this ConstructWithModelingProgram object. |
void |
removeModelingProgram()
Remove the ModelingProgram from this Construct. |
void |
setModelingProgram(ModelingProgram program)
Defines the graphical representation of this Construct. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
protected ConstructWithModelingProgram(Model model,
int cid,
java.lang.String constructName,
int constructClass,
boolean constructIsRoot)
| Method Detail |
public void removeModelingProgram()
throws RepositoryAccessException
RepositoryAccessException - if the repositories cannot be accessedpublic void remove()
remove in class Construct
public static Construct getConstructByCID(int cid)
throws AutoRepException
AutoRepException
public void setModelingProgram(ModelingProgram program)
throws SchemaModelingRepositoryException,
RepositoryAccessException
program - the representation of this Construct.
SchemaModelingRepositoryException - see SchemaModelingRepository.createConstructModeling(int, int, String)
RepositoryAccessException - if the repositories cannot be accessedpublic ModelingProgram getModelingProgram()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||