|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.iba.constraint.AbstractConstraintGroupFactory
wt.csm.constraint.CSMConstraintFactory
Use the newCSMConstraintFactory
static factory method(s),
not the CSMConstraintFactory
constructor, to construct instances
of this class. Instances must be constructed using the static factory(s),
in order to ensure proper initialization of the instance.
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
static String |
CONSTRAINT_GROUP_LABEL
|
static String |
CSM_CLASSNODE_SECRET_KEY
|
static long |
EXTERNALIZATION_VERSION_UID
|
static String |
key1
Supported API: false |
protected static long |
OLD_FORMAT_VERSION_UID
|
private static String |
RESOURCE
|
(package private) static long |
serialVersionUID
|
Constructor Summary | |
CSMConstraintFactory()
|
Method Summary | |
private ConstraintGroup |
addDepersistedAttributeConstraintsToGroup(long[] id,
boolean isCSM,
ConstraintGroup constraintGroup)
|
private CSMSingleDefConstraint |
constructCSMSingleDefRankConstraint(IBAHolder ibaHolder)
|
private CSMContainerConstraint |
createImmutableCSMContainerConstraint()
|
private CSMSingleDefConstraint |
createImmutableCSMSingleDefConstraint()
|
private ConstraintGroup |
depersistAttributeConstraintsAssociatedToValues(IBAHolder ibaHolder,
boolean isCSM,
ReferenceDefView referenceDefView,
ConstraintGroup constraintGroup)
|
private ConstraintGroup |
depersistClassificationNodeForAttributeConstraints(IBAHolder ibaHolder,
boolean isCSM,
ConstraintGroup constraintGroup)
|
private ConstraintGroup |
depersistClassificationNodeForAttributeConstraints(IBAHolder ibaHolder,
ConstraintGroup constraintGroup)
Convenience method added to maintain old two parameter version. |
private AttributeDefDefaultView |
getAttributeDefDefaultViewByPath(String defPath)
|
private AttributeDefReference |
getAttributeDefReference(AttributeDefDefaultView referenceDefView)
Given a ReferenceDefView, converts to AbstractAttributeDefinition, converts to AttributeDefinitionReference then construct an AttributeDefReference. |
private ClassificationStructDefaultView |
getClassificationStructDefaultViewByName(String primaryClassName)
|
private ClassificationStructDefaultView |
getClassificationStructDefaultViewByNodeView(IBAHolder ibaHolder)
|
String |
getConceptualClassname()
Deprecated. |
ConstraintGroup |
getConstraintGroup(IBAHolder ibaHolder,
Object constraintParameter)
Get IBAHolder, do introspection to find all constraints for CSMContainerConstraint.class, CSMSingleDefConstraint.class. |
private boolean |
getCSMClassNodeSecretKey(Object constraintParameter)
|
private String |
getIBAHolderClassName(IBAHolder ibaHolder)
|
protected void |
initialize()
Supported API: false |
static CSMConstraintFactory |
newCSMConstraintFactory()
Default factory for the class. |
void |
readExternal(ObjectInput input)
Reads the non-transient fields of this class from an external source. |
private boolean |
readOldVersion(ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source, which is not the current version. |
protected boolean |
readVersion(CSMConstraintFactory thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
void |
writeExternal(ObjectOutput output)
Writes the non-transient fields of this class to an external source. |
Methods inherited from class wt.iba.constraint.AbstractConstraintGroupFactory |
getClassInfo, readVersion, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
public static final String key1
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
public static final String CSM_CLASSNODE_SECRET_KEY
public static final String CONSTRAINT_GROUP_LABEL
Constructor Detail |
public CSMConstraintFactory()
Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class AbstractConstraintGroupFactory
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class AbstractConstraintGroupFactory
input
-
IOException
ClassNotFoundException
protected boolean readVersion(CSMConstraintFactory thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
thisObject
- input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
private boolean readOldVersion(ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
public String getConceptualClassname()
getConceptualClassname
in interface NetFactor
public ConstraintGroup getConstraintGroup(IBAHolder ibaHolder, Object constraintParameter) throws IBAConstraintException
getConstraintGroup
in class AbstractConstraintGroupFactory
ibaHolder
- constraintParameter
-
IBAConstraintException
public static CSMConstraintFactory newCSMConstraintFactory() throws WTException
WTException
protected void initialize()
initialize
in class AbstractConstraintGroupFactory
private ClassificationStructDefaultView getClassificationStructDefaultViewByNodeView(IBAHolder ibaHolder) throws IBAConstraintException
IBAConstraintException
private ClassificationStructDefaultView getClassificationStructDefaultViewByName(String primaryClassName) throws IBAConstraintException
IBAConstraintException
private CSMSingleDefConstraint createImmutableCSMSingleDefConstraint() throws IBAConstraintException
IBAConstraintException
private CSMContainerConstraint createImmutableCSMContainerConstraint() throws IBAConstraintException
IBAConstraintException
private CSMSingleDefConstraint constructCSMSingleDefRankConstraint(IBAHolder ibaHolder) throws IBAConstraintException
IBAConstraintException
private AttributeDefReference getAttributeDefReference(AttributeDefDefaultView referenceDefView) throws IBAConstraintException
IBAConstraintException
private AttributeDefDefaultView getAttributeDefDefaultViewByPath(String defPath) throws IBAConstraintException
IBAConstraintException
private ConstraintGroup depersistClassificationNodeForAttributeConstraints(IBAHolder ibaHolder, ConstraintGroup constraintGroup) throws IBAConstraintException
IBAConstraintException
private ConstraintGroup depersistClassificationNodeForAttributeConstraints(IBAHolder ibaHolder, boolean isCSM, ConstraintGroup constraintGroup) throws IBAConstraintException
IBAConstraintException
private ConstraintGroup depersistAttributeConstraintsAssociatedToValues(IBAHolder ibaHolder, boolean isCSM, ReferenceDefView referenceDefView, ConstraintGroup constraintGroup) throws IBAConstraintException
IBAConstraintException
private ConstraintGroup addDepersistedAttributeConstraintsToGroup(long[] id, boolean isCSM, ConstraintGroup constraintGroup) throws IBAConstraintException
IBAConstraintException
private boolean getCSMClassNodeSecretKey(Object constraintParameter)
private String getIBAHolderClassName(IBAHolder ibaHolder)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |