|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.altair.hwm.database.dbmodel.HWMClassConstraints
public class HWMClassConstraints
Title: HWMClassConstraints
Description: This class represents the constraints set on a class
Company: Altair Engineering, Inc.
Constructor Summary | |
---|---|
HWMClassConstraints()
Constructor |
Method Summary | |
---|---|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener propChangeListener)
Add property change listener |
void |
Export(org.jdom.Element elemConst)
Creates XML element representation for this constraint class |
java.lang.String |
GetSQLRepresentation()
Create and return the SQL string for the constraints |
java.util.Vector |
GetUniqueConstraints()
Gets the vector of vector of unique attribs |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener propChangeListener)
Remove property change listener |
void |
Resolve(HWMClass hwmClass,
org.jdom.Element elemConst)
Recreates the constraints |
void |
SetUniqueConstraints(java.util.Vector vectUniqueConst)
Sets the vector of vector of unique attribs |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HWMClassConstraints()
Method Detail |
---|
public void SetUniqueConstraints(java.util.Vector vectUniqueConst)
vectUniqueConst
- The vector of vector of attributes that need to
be uniquepublic java.util.Vector GetUniqueConstraints()
public java.lang.String GetSQLRepresentation()
public void Export(org.jdom.Element elemConst)
elemConst
- The element representing this constraint classpublic void Resolve(HWMClass hwmClass, org.jdom.Element elemConst) throws java.lang.Exception
hwmClass
- The class for which this is a constraintelemConst
- The element representing this class
java.lang.Exception
public void addPropertyChangeListener(java.beans.PropertyChangeListener propChangeListener)
propChangeListener
- The listener for property change events fired
by this classpublic void removePropertyChangeListener(java.beans.PropertyChangeListener propChangeListener)
propChangeListener
- The listener to be removed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |