uk.ac.ic.doc.automed.modelmanagement.matchmodel
Class TargetConstruct

java.lang.Object
  extended by uk.ac.ic.doc.automed.modelmanagement.matchmodel.TargetConstruct

public class TargetConstruct
extends java.lang.Object

Author:
acs203

Field Summary
private  java.util.ArrayList _constraints
           
private  Construct _construct
          Creates a new instance of TargetConstruct This includes the name of the construct and an ArrayList of constraint definitions of the form M,0;U,0 etc
 
Constructor Summary
TargetConstruct(Construct construct)
          Each construct can have a number of constraint defintions associated with it depending on how a schema using this construct is defined.
 
Method Summary
 java.util.ArrayList getConstraints()
          Return the arraylist of constraint strings that apply to this construct
 Construct getConstruct()
          Get the AutoMed construct object
 int getConstructClass()
          Return the construct class of this construct, nodal, link-nodal, link etc
 java.lang.String getConstructName()
          Get the name of this construct
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_construct

private Construct _construct
Creates a new instance of TargetConstruct This includes the name of the construct and an ArrayList of constraint definitions of the form M,0;U,0 etc


_constraints

private java.util.ArrayList _constraints
Constructor Detail

TargetConstruct

public TargetConstruct(Construct construct)
Each construct can have a number of constraint defintions associated with it depending on how a schema using this construct is defined. For example a null SQL column will have a different constraint string from a not null SQL column

Method Detail

getConstructClass

public int getConstructClass()
Return the construct class of this construct, nodal, link-nodal, link etc


getConstraints

public java.util.ArrayList getConstraints()
Return the arraylist of constraint strings that apply to this construct


getConstruct

public Construct getConstruct()
Get the AutoMed construct object


getConstructName

public java.lang.String getConstructName()
Get the name of this construct