|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectuk.ac.ic.doc.automed.reps.Construct
uk.ac.ic.doc.automed.reps.ConstructWithModelingProgram
public class 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, CONSTRAINT_INCLUSION, CONSTRAINT_MANDATORY, CONSTRAINT_REFLEXIVE, CONSTRAINT_UNDEFINED, CONSTRAINT_UNIQUE, 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, wait, wait, wait |
| Constructor Detail |
|---|
protected ConstructWithModelingProgram(Model model,
int cid,
java.lang.String constructName,
int constructClass,
boolean constructIsRoot)
cName - name of the construct.cClass - class of the construct.isRoot - set to true if the construct is root
(i.e., it is itself a construct in its underlying model);
false otherwise.| 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 | ||||||||