|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectuk.ac.ic.doc.automed.reps.Transformation
public class Transformation
The Transformation class describes a single premitive transformation that connects a pair of schemas. Each Transformation may be one of add, delete, rename, extend, contract or ident.
| Field Summary | |
|---|---|
static int |
ACTION_ADD
Transformation action "add" |
static java.lang.String |
ACTION_ADD_STR
|
static int |
ACTION_CONTRACT
Transformation action "contract" |
static java.lang.String |
ACTION_CONTRACT_STR
|
static int |
ACTION_DELETE
Transformation action "delete" |
static java.lang.String |
ACTION_DELETE_STR
|
static int |
ACTION_EXTEND
Transformation action "extend" |
static java.lang.String |
ACTION_EXTEND_STR
|
static int |
ACTION_IDENT
Transformation action "ident" |
static java.lang.String |
ACTION_IDENT_STR
|
static int |
ACTION_MAXIMUM
|
static int |
ACTION_MINIMUM
|
static int |
ACTION_RENAME
Transformation action "rename" |
static java.lang.String |
ACTION_RENAME_STR
|
static java.lang.String[][] |
actionWeights
|
static java.lang.String |
IQL_TRUE_CONSTRAINT
Constraint that evaluates to true |
static int |
NULL_ID
|
static java.lang.String |
PROPERTY_IQL_FUNCTION
Name of property used to label IDENT transformations with the IQL function that is used to merge values from either side of the IDENT (i.e. |
static java.lang.String |
PROPERTY_IQL_FUNCTION_DEFAULT_VALUE
Default value for PROPERTY_IQL_FUNCTION |
static java.lang.String |
RANGE_OBJECT_ANY
|
static java.lang.String |
RANGE_OBJECT_OBJECT
|
static java.lang.String |
RANGE_VOID_ANY
|
static java.lang.String |
RANGE_VOID_OBJECT
|
static java.lang.String[][] |
rangeWeights
|
| Constructor Summary | |
|---|---|
protected |
Transformation(int action,
int fromOBID,
int toOBID,
int fromSID,
int toSID,
java.lang.String function,
java.lang.String constraint,
boolean addToMap)
Instantiates a transformation. |
| Method Summary | |
|---|---|
int |
compareTo(java.lang.Object o)
|
static Transformation |
createAddTransformation(Schema fromSchema,
Construct toObjectConstructType,
AutoMedType amtype,
java.lang.Object[] toObject,
java.lang.String function,
java.lang.String constraint)
|
static Transformation |
createAddTransformation(Schema fromSchema,
Construct toObjectConstructType,
java.lang.Object[] toObject,
java.lang.String function,
java.lang.String constraint)
Creates a new ADD transformation. |
static Transformation |
createAddTransformation(Schema fromSchema,
Construct toObjectConstructType,
java.lang.Object[] toObject,
java.lang.String function,
java.lang.String constraint,
java.lang.String newSchemaName)
Creates an ADD transformation. |
static Transformation |
createContractTransformation(Schema fromSchema,
SchemaObject fromObject,
java.lang.String function,
java.lang.String constraint)
Creates an CONTRACT transformation. |
static Transformation |
createContractTransformation(Schema fromSchema,
SchemaObject fromObject,
java.lang.String newSchemaName,
java.lang.String function,
java.lang.String constraint)
Creates an CONTRACT transformation. |
static Transformation |
createDeleteTransformation(Schema fromSchema,
SchemaObject fromObject,
java.lang.String function,
java.lang.String constraint)
Creates a DELETE transformation. |
static Transformation |
createDeleteTransformation(Schema fromSchema,
SchemaObject fromObject,
java.lang.String function,
java.lang.String constraint,
java.lang.String newSchemaName)
Creates a DELETE transformation. |
static Transformation |
createExtendTransformation(Schema fromSchema,
Construct toObjectConstructType,
java.lang.Object[] toObject,
java.lang.String function,
java.lang.String constraint)
Creates an EXTEND transformation. |
static Transformation |
createExtendTransformation(Schema fromSchema,
Construct toObjectConstructType,
java.lang.Object[] toObject,
java.lang.String newSchemaName,
java.lang.String function,
java.lang.String constraint)
Creates an EXTEND transformation. |
static Transformation |
createIdentTransformation(Schema fromSchema,
Schema toSchema,
java.lang.String function,
java.lang.String constraint)
Creates an IDENT transformation. |
static Transformation |
createIdentTransformations(Schema fromSchema,
Schema toSchema,
java.lang.String function,
java.lang.String constraint)
Deprecated. Use #createIdentTransformations() instead. |
static java.lang.String |
createIntSchemaName(java.lang.String sName,
boolean isExtSchema,
boolean canChangeOriginalName)
Creates a name for an intentional schema based on a given schema. |
static Transformation |
createRenameTransformation(Schema fromSchema,
SchemaObject fromObject,
java.lang.Object[] toObject)
Creates a RENAME transformation. |
static Transformation |
createRenameTransformation(Schema fromSchema,
SchemaObject fromObject,
java.lang.Object[] toObject,
java.lang.String newSchemaName)
Creates a RENAME transformation. |
java.lang.String |
debugString()
A String representation of this object useful for debugging code |
protected Transformation |
duplicateTransformation(Schema fromSchema)
Creates a duplicate of the transformation. |
int |
getActionFrom(Schema s)
Returns the action of the transformation. |
java.lang.String |
getActionName()
Return this transformation's action name |
java.lang.String |
getActionNameFrom(Schema s)
|
java.lang.String |
getActionNameTo(Schema s)
|
static int |
getActionNumber(java.lang.String actionStr)
Return an action number from its name |
static java.lang.String |
getActionString(int actionId)
|
int |
getActionTo(Schema s)
Returns the action of the transformation. |
SchemaObject[] |
getAllReferencedSchemaObjects()
Returns all the schema objects referenced in a transformation, including those referenced in its query. The result of this method is the union of the results returned by the methods getReferencedSchemaObjects() and
getReferencedSchemaObjectsInQuery(). |
static java.util.List |
getAllTrans()
|
Schema |
getCommonSchema(Transformation t)
|
java.lang.String |
getConstraint()
Returns the constraint associated with the transformation. |
protected int |
getFromOBID()
Returns the schema object identifier (OBID) of the input of the transformaiton (fromObject). |
protected SchemaObject |
getFromObject()
Returns the SchemaObject input of the transformation. |
protected Schema |
getFromSchema()
Returns the originating Schema of the transformation. |
protected int |
getFromSID()
Returns the schema identifier (SID) of the originating schema. |
java.lang.String |
getFunction()
Returns the function of the transformation. |
PersistentKey |
getKey()
|
SchemaObject |
getKnownSchemaObject(int sid)
Use instead of getSchemaObject(int) where you are sure that
the sid is valid for the transformation. |
SchemaObject |
getKnownSchemaObject(Schema s)
Use instead of getSchemaObject(Schema) where you are sure
that the Schema is valid for the transformation. |
static Transformation |
getKnownTransformation(Schema fs,
Schema ts)
|
Schema[] |
getOriginalSchemas()
|
Schema |
getOtherSchema(Schema s)
Returns the schemas of the transformation. |
java.util.Map |
getPersistentAttributes()
|
java.lang.String |
getProperty(java.lang.String key)
Returns a property associated with this Transformation. |
float |
getQuality()
|
protected java.lang.String |
getRange()
Determine the actual range of a transformation |
SchemaObject[] |
getReferencedSchemaObjects()
Returns all the schema objects referenced in a transformation. |
SchemaObject[] |
getReferencedSchemaObjectsInQuery()
Returns all the schema objects referenced in the query of a transformation. |
protected Transformation |
getReverseTransformation()
Returns the reverse transformation of the given transformation. |
SchemaObject |
getSchemaObject(Schema s)
Returns the SchemaObject of the transformation. |
Schema[] |
getSchemas()
Returns the schemas of the transformation. |
protected int |
getToOBID()
Returns the schema object identifier (OBID) of the output of the transformaiton (toObject). |
protected SchemaObject |
getToObject()
Returns the SchemaObject output of the transformation. |
protected Schema |
getToSchema()
Returns the resultant Schema of the transformation. |
protected int |
getToSID()
Returns the schema identifier (SID) of the resultant schema. |
static Transformation |
getTransformation(int fSID,
int tSID)
Returns the transformation between two given schemas. |
static Transformation |
getTransformation(Schema fs,
Schema ts)
Returns the transformation between two given schemas. |
static java.lang.Object[][] |
getTransformations()
|
static Transformation[] |
getTransformationsToObject(int tOBID)
Get all transformations to a specific schema object |
static void |
importTransformations(java.io.InputStream is)
|
static void |
importTransformations(java.io.InputStream is,
java.lang.String suffix)
|
protected boolean |
isDependentOn(Transformation tran)
Determines whether or not the transformation is dependent on another transformation. |
protected boolean |
isRedundant(Transformation tran)
Determines whether or not the transformation and the given tran are redundant, e.g., two transformations are redundant if they transform the same schema object and their action is the opposite of the other (add/delete, extend/contract, etc.). |
protected void |
measureQuality()
Measure the quality of this transformation based on the action and range of values involved |
static Transformation |
read(java.io.InputStream is)
|
void |
remove()
Removes this Transformation from the repository. |
static void |
removeTransformation(java.lang.String fromSchema,
java.lang.String toSchema)
Removes the transformation between two given schemas. |
void |
retract()
|
void |
setProperty(java.lang.String key,
java.lang.String value)
Sets a property associated with this Transformation. |
void |
setSyntaxChecking(boolean flag)
Set if the syntax of transformations is checked as entered into the repository. |
static void |
syncWithRepository()
|
java.lang.String |
toLaTeX(Schema s1)
Returns the transformation in a form that may rendered by the hdm.sty LaTeX package. |
java.lang.String |
toString()
|
void |
write()
|
void |
write(java.io.OutputStream os)
|
void |
write(java.io.PrintWriter pw)
|
protected void |
write(java.io.PrintWriter pw,
java.lang.String prefix)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int NULL_ID
public static final java.lang.String ACTION_ADD_STR
public static final java.lang.String ACTION_DELETE_STR
public static final java.lang.String ACTION_RENAME_STR
public static final java.lang.String ACTION_EXTEND_STR
public static final java.lang.String ACTION_CONTRACT_STR
public static final java.lang.String ACTION_IDENT_STR
public static final java.lang.String IQL_TRUE_CONSTRAINT
public static final int ACTION_MINIMUM
public static final int ACTION_ADD
public static final int ACTION_DELETE
public static final int ACTION_RENAME
public static final int ACTION_EXTEND
public static final int ACTION_CONTRACT
public static final int ACTION_IDENT
public static final int ACTION_MAXIMUM
public static final java.lang.String PROPERTY_IQL_FUNCTION
public static final java.lang.String PROPERTY_IQL_FUNCTION_DEFAULT_VALUE
PROPERTY_IQL_FUNCTION
public static final java.lang.String[][] actionWeights
public static final java.lang.String RANGE_VOID_OBJECT
public static final java.lang.String RANGE_OBJECT_OBJECT
public static final java.lang.String RANGE_OBJECT_ANY
public static final java.lang.String RANGE_VOID_ANY
public static final java.lang.String[][] rangeWeights
| Constructor Detail |
|---|
protected Transformation(int action,
int fromOBID,
int toOBID,
int fromSID,
int toSID,
java.lang.String function,
java.lang.String constraint,
boolean addToMap)
action - the action of the transformation.fromOBID - the schema object identifier (OBID) of the fromObject of
the transformation.toOBID - the schema object identifier (OBID) of the toObject of
the transformation.fromSID - the schema identifier (SID) of the fromSchema of the
transformation.toSID - the schema identifier (SID) of the toSchema of the
transformation.function - the query that expresses the extent of the construct
being transformed.constraint - the constraint associated with the transformation
(if any).addToMap - set to true if the transformation is to be
added to the transformation HashMap; false
otherwise.| Method Detail |
|---|
public static Transformation createAddTransformation(Schema fromSchema,
Construct toObjectConstructType,
java.lang.Object[] toObject,
java.lang.String function,
java.lang.String constraint)
throws TypeMismatchException,
IntegrityException
fromSchema - the originating Schema of the
transformation.toObjectConstructType - the construct type (see Construct) of
the resulting transformation object.toObject - the scheme (in an Object array) that forms the
output of the transformation.function - the query that expresses the extent of the construct
being transformed.constraint - the constraint associated with the transformation
(if any).
Transformation object.
InconsistentException
TypeMismatchException
IntegrityException
public static Transformation createAddTransformation(Schema fromSchema,
Construct toObjectConstructType,
AutoMedType amtype,
java.lang.Object[] toObject,
java.lang.String function,
java.lang.String constraint)
throws TypeMismatchException,
IntegrityException
TypeMismatchException
IntegrityException
public static Transformation createAddTransformation(Schema fromSchema,
Construct toObjectConstructType,
java.lang.Object[] toObject,
java.lang.String function,
java.lang.String constraint,
java.lang.String newSchemaName)
throws TypeMismatchException,
IntegrityException
fromSchema - the originating Schema of the
transformation.toObjectConstructType - the construct type (see Construct) of
the resulting transformation object.toObject - the scheme (in an Object array) that forms the
output of the transformation.function - the query that expresses the extent of the construct
being transformed.constraint - the constraint associated with the transformation
(if any).newSchemaName - the name of the resultant schema.
Transformation object.
InconsistentException
TypeMismatchException
IntegrityException
public static Transformation createDeleteTransformation(Schema fromSchema,
SchemaObject fromObject,
java.lang.String function,
java.lang.String constraint)
throws TypeMismatchException,
IntegrityException
fromSchema - the originating Schema of the
transformation.fromObject - the SchemaObject to be deleted in the
transformation. Note that this schema object must belong to the given
fromSchema.function - the query that expresses the extent of the construct
being transformed.constraint - the constraint associated with the transformation
(if any).
Transformation object.
InconsistentException
TypeMismatchException
IntegrityException
public static Transformation createDeleteTransformation(Schema fromSchema,
SchemaObject fromObject,
java.lang.String function,
java.lang.String constraint,
java.lang.String newSchemaName)
throws TypeMismatchException,
IntegrityException
fromSchema - the originating Schema of the
transformation.fromObject - the SchemaObject to be deleted in the
transformation. Note that this schema object must belong to the given
fromSchema.function - the query that expresses the extent of the construct
being transformed.constraint - the constraint associated with the transformation
(if any).newSchemaName - the name of the resultant schema.
Transformation object.
InconsistentException
TypeMismatchException
IntegrityException
public static Transformation createRenameTransformation(Schema fromSchema,
SchemaObject fromObject,
java.lang.Object[] toObject)
throws TypeMismatchException,
IntegrityException
fromSchema - the originating Schema of the
transformation.fromObject - the SchemaObject to be renamed in the
transformation. Note that this schema object must belong to the given
fromSchema.toObject - the scheme (in an Object array) that forms the
output of the transformation. (The construct type of toObject must
be the same as the fromObject).function - the query that expresses the extent of the construct
being transformed.constraint - the constraint associated with the transformation
(if any).
Transformation object.
InconsistentException
TypeMismatchException
IntegrityException
public static Transformation createRenameTransformation(Schema fromSchema,
SchemaObject fromObject,
java.lang.Object[] toObject,
java.lang.String newSchemaName)
throws TypeMismatchException,
IntegrityException
fromSchema - the originating Schema of the
transformation.fromObject - the SchemaObject to be renamed in the
transformation. Note that this schema object must belong to the given
fromSchema.toObject - the scheme (in an Object array) that forms the
output of the transformation. (The construct type of toObject must
be the same as the fromObject).newSchemaName - the name of the resultant schema.
Transformation object.
InconsistentException
TypeMismatchException
IntegrityException
public static Transformation createExtendTransformation(Schema fromSchema,
Construct toObjectConstructType,
java.lang.Object[] toObject,
java.lang.String function,
java.lang.String constraint)
throws TypeMismatchException,
IntegrityException
fromSchema - the originating Schema of the
transformation.toObjectConstructType - the construct type (see Construct) of
the resulting transformation object.toObject - the scheme (in an Object array) that forms the
output of the transformation.function - the query that expresses the extent of the construct
being transformed.constraint - the constraint associated with the transformation
(if any).
Transformation object.
TypeMismatchException
IntegrityException
public static Transformation createExtendTransformation(Schema fromSchema,
Construct toObjectConstructType,
java.lang.Object[] toObject,
java.lang.String newSchemaName,
java.lang.String function,
java.lang.String constraint)
throws TypeMismatchException,
IntegrityException
fromSchema - the originating Schema of the
transformation.toObjectConstructType - the construct type (see Construct) of
the resulting transformation object.toObject - the scheme (in an Object array) that forms the
output of the transformation.newSchemaName - the name of the resultant schema.
Transformation object.
TypeMismatchException
IntegrityException
public static Transformation createContractTransformation(Schema fromSchema,
SchemaObject fromObject,
java.lang.String function,
java.lang.String constraint)
throws TypeMismatchException,
IntegrityException
fromSchema - the originating Schema of the
transformation.fromObject - the SchemaObject to be contracted in the
transformation. Note that this schema object must belong to the given
fromSchema.function - the query that expresses the extent of the construct
being transformed.constraint - the constraint associated with the transformation
(if any).
Transformation object.
InconsistentException
TypeMismatchException
IntegrityException
public static Transformation createContractTransformation(Schema fromSchema,
SchemaObject fromObject,
java.lang.String newSchemaName,
java.lang.String function,
java.lang.String constraint)
throws TypeMismatchException,
IntegrityException
fromSchema - the originating Schema of the
transformation.fromObject - the SchemaObject to be contracted in the
transformation. Note that this schema object must belong to the given
fromSchema.newSchemaName - the name of the resultant schema.
Transformation object.
InconsistentException
TypeMismatchException
IntegrityException
public static Transformation createIdentTransformations(Schema fromSchema,
Schema toSchema,
java.lang.String function,
java.lang.String constraint)
throws SchemasNotIdenticalException
#createIdentTransformations() instead.
SchemasNotIdenticalException
public static Transformation createIdentTransformation(Schema fromSchema,
Schema toSchema,
java.lang.String function,
java.lang.String constraint)
throws SchemasNotIdenticalException
fromSchema - the originating Schema of the
transformation.toSchema - the resultant Schema of the transformation.function - the query that expresses the extent of the construct
being transformed.constraint - the constraint associated with the transformation
(if any).
Transformation objects.
SchemasNotIdenticalException
public static java.lang.String createIntSchemaName(java.lang.String sName,
boolean isExtSchema,
boolean canChangeOriginalName)
sName - the name of the schema that the new schema name is based on, i.e.,
the schema from which the new intentional schema is derived.isExtSchema - set to true if the schema from which the new
intentional schema is derived is an extentional schema; false
otherwise.canChangeOriginalName - set to true if the given base schema
name can be altered (e.g., "schema" will be changed to "schema1" first before
anything is appended to the name to produce the new intentional schema name).
public static Transformation getTransformation(int fSID,
int tSID)
throws NotFoundException
Schemas.
fSID - the schema identifier (SID) of the first schema.tSID - the schema identifier (SID) of the second schema.
NotFoundExceptionprotected void measureQuality()
protected java.lang.String getRange()
public static Transformation getTransformation(Schema fs,
Schema ts)
throws NotFoundException
fs - the Schema of the originating schema.ts - the Schema of the resultant schema.
NotFoundException - if no transformation exists between the
schemas
public static Transformation[] getTransformationsToObject(int tOBID)
throws NotFoundException
NotFoundException
public static Transformation getKnownTransformation(Schema fs,
Schema ts)
public static void removeTransformation(java.lang.String fromSchema,
java.lang.String toSchema)
throws NotFoundException,
IntegrityException
fromSchema - the name of the originating schema.toSchema - the name of the resultant schema.
NotFoundException - if either of the two named schemas do
not exist
IntegrityException
public void remove()
throws IntegrityException
Transformation from the repository. Clearly,
once called, this Transformation object instance should not
be used again.
IntegrityExceptionpublic void retract()
public static int getActionNumber(java.lang.String actionStr)
throws NotFoundException
NotFoundExceptionpublic java.lang.String getActionName()
public java.lang.String getActionNameFrom(Schema s)
public java.lang.String getActionNameTo(Schema s)
public int getActionFrom(Schema s)
public int getActionTo(Schema s)
protected SchemaObject getFromObject()
SchemaObject input of the transformation.
Returns null if no fromObject is associated with the
transformation.
SchemaObject input of the transformation.
Returns null if no fromObject is associated with the
transformation.protected SchemaObject getToObject()
SchemaObject output of the transformation.
SchemaObject output of the transformation,
or null if there is no such object, as will be the case for
delete and contract transformationspublic SchemaObject getKnownSchemaObject(int sid)
getSchemaObject(int) where you are sure that
the sid is valid for the transformation. Will throw a runtime exception
if this is not the case. Useful only to make code look tidy.
public SchemaObject getKnownSchemaObject(Schema s)
getSchemaObject(Schema) where you are sure
that the Schema is valid for the transformation. Will
throw a runtime exception if this is not the case. Useful only
to make code look tidy.
public SchemaObject getSchemaObject(Schema s)
throws NotFoundException
SchemaObject of the transformation.
s - the schema in which the transformation object exists as
a result of applying the transformation.
SchemaObject of the transformation,
which may be null.
NotFoundExceptionprotected Schema getFromSchema()
Schema of the transformation.
Schema of the transformation.protected Schema getToSchema()
Schema of the transformation.
Schema of the transformation.public Schema[] getSchemas()
public Schema getOtherSchema(Schema s)
s - one of the schemas associated with the transformation.
protected int getFromSID()
protected int getToSID()
protected int getFromOBID()
protected int getToOBID()
public java.lang.String getFunction()
public java.lang.String getConstraint()
public float getQuality()
protected Transformation getReverseTransformation()
tran - the transformation that is to be reversed.
protected boolean isDependentOn(Transformation tran)
throws IntegrityException
true.
tran - the Transformation whose transformation object
is to be compared.
true if the transformation is dependent on the given
Transformation; false otherwise.
InconsistentException
IntegrityException
protected boolean isRedundant(Transformation tran)
throws IntegrityException
tran - the Transformation whose transformation object
and action are to be compared.
true if the transformation and the given
Transformation are redundant; false otherwise.
IntegrityExceptionpublic java.lang.String toString()
toString in class java.lang.Object
public static void syncWithRepository()
throws InconsistentException
InconsistentExceptionpublic SchemaObject[] getReferencedSchemaObjects()
SchemaObject instances that are
referenced in the transformation.public SchemaObject[] getReferencedSchemaObjectsInQuery()
SchemaObject instances that are
referenced in the query of the transformation.public SchemaObject[] getAllReferencedSchemaObjects()
getReferencedSchemaObjects() and
getReferencedSchemaObjectsInQuery().
SchemaObject instances that are
referenced in the transformation, plus the SchemaObject
instances referenced in its query.
protected Transformation duplicateTransformation(Schema fromSchema)
throws IntegrityException
fromSchema - the originating Schema of the
transformation.
IntegrityException
public static java.lang.Object[][] getTransformations()
throws InconsistentException
InconsistentException
public static void importTransformations(java.io.InputStream is)
throws java.io.IOException,
SyntaxException,
NotFoundException,
TypeMismatchException,
IntegrityException,
SchemasNotIdenticalException
java.io.IOException
SyntaxException
NotFoundException
TypeMismatchException
IntegrityException
SchemasNotIdenticalException
public static void importTransformations(java.io.InputStream is,
java.lang.String suffix)
throws java.io.IOException,
SyntaxException,
NotFoundException,
TypeMismatchException,
IntegrityException,
SchemasNotIdenticalException
java.io.IOException
SyntaxException
NotFoundException
TypeMismatchException
IntegrityException
SchemasNotIdenticalException
public static Transformation read(java.io.InputStream is)
throws SyntaxException,
NotFoundException,
TypeMismatchException,
IntegrityException,
SchemasNotIdenticalException
SyntaxException
NotFoundException
TypeMismatchException
IntegrityException
SchemasNotIdenticalExceptionpublic void write()
public void write(java.io.OutputStream os)
public void write(java.io.PrintWriter pw)
protected void write(java.io.PrintWriter pw,
java.lang.String prefix)
public Schema[] getOriginalSchemas()
public static java.util.List getAllTrans()
public int compareTo(java.lang.Object o)
compareTo in interface java.lang.Comparablepublic Schema getCommonSchema(Transformation t)
public java.lang.String debugString()
public void setSyntaxChecking(boolean flag)
flag - boolean value to determine if transformation query language
checking is performed.public PersistentKey getKey()
getKey in interface PersistentObjectPersistentObject.getKey()public java.util.Map getPersistentAttributes()
getPersistentAttributes in interface PersistentObjectPersistentObject.getPersistentAttributes()
public void setProperty(java.lang.String key,
java.lang.String value)
key - name given to identify this property. The only standard
property name at present is{#link PROPERTY_IQL_FUNCTION}.the - value to hold against the key value.
public java.lang.String getProperty(java.lang.String key)
throws NotFoundException
key - name given to identify this property. The only standard
property name at present is {#link PROPERTY_IQL_FUNCTION}.
NotFoundException - is there is no value recorded under key.
public java.lang.String toLaTeX(Schema s1)
throws NotFoundException
s1 - is the schema that the transformation goes from.
NotFoundExceptionpublic static java.lang.String getActionString(int actionId)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||