Follow the links below to browse sample Javadoc for MJ classes and tools, including the MJ Runtime Library.
Defines keys for data entity handlers.
Classes and Interfaces | |
BinaryFindKeyDef | Defines a binary-find key for a data entity handler to support access to entity equivalent to that provided by the BFN Mapper command. |
DataEntityKeyDef | Abstract base class for data entity key definitions. |
ForeignKeyDef | Defines the foreign key for a data entity handler. |
PrimaryKeyDef | Defines the natural primary key for a data entity handler. |
public abstract class com.arsi.mj.maprpt.entity.keydef.BinaryFindKeyDef
extends com.arsi.mj.maprpt.entity.keydef.DataEntityKeyDef
Constructors |
public BinaryFindKeyDef()
|
Methods |
Get name of sequence number column introduced to permit ordered access.
public java.lang.String getSeqnumColumn()
|
Get gap between sequence numbers introduced to permit ordered access.
public int getSeqnumGap()
|
Determines if sequence number column should be introduced to permit ordered access by an
equivalent of line number.
public boolean isSeqnumIncluded()
|
Set name of sequence number column introduced to permit ordered access, if applicable.
public void setSeqnumColumn(java.lang.String aColumnName)
|
Set gap between sequence numbers introduced to permit ordered access, if applicable.
public void setSeqnumGap(int aGap)
|
Indicate that a sequence number column should be introduced to permit ordered access by
an equivalent of line number, which certain uses of BFN may require.
public void setSeqnumIncluded(boolean aIncludeSeqnumFlag)
|
public abstract class com.arsi.mj.maprpt.entity.keydef.DataEntityKeyDef
extends java.lang.Object
Constructors |
public DataEntityKeyDef()
|
Methods |
Get entity attributes that comprise this key definition.
public java.util.List attributes()
|
Set attribute 1 as the name of an entity attribute referenced in a DataEntityHandler .
public java.lang.String getEntityAttribute1()
|
Set attribute 10 as the name of an entity attribute referenced in a DataEntityHandler .
public java.lang.String getEntityAttribute10()
|
Set attribute 2 as the name of an entity attribute referenced in a DataEntityHandler .
public java.lang.String getEntityAttribute2()
|
Set attribute 3 as the name of an entity attribute referenced in a DataEntityHandler .
public java.lang.String getEntityAttribute3()
|
Set attribute 4 as the name of an entity attribute referenced in a DataEntityHandler .
public java.lang.String getEntityAttribute4()
|
Set attribute 5 as the name of an entity attribute referenced in a DataEntityHandler .
public java.lang.String getEntityAttribute5()
|
Set attribute 6 as the name of an entity attribute referenced in a DataEntityHandler .
public java.lang.String getEntityAttribute6()
|
Set attribute 7 as the name of an entity attribute referenced in a DataEntityHandler .
public java.lang.String getEntityAttribute7()
|
Set attribute 8 as the name of an entity attribute referenced in a DataEntityHandler .
public java.lang.String getEntityAttribute8()
|
Set attribute 9 as the name of an entity attribute referenced in a DataEntityHandler .
public java.lang.String getEntityAttribute9()
|
Get name assigned to key definition. The name must be unique within the
larger translated Mapper application, as it may be used to generate database
index names or other artifact names.
public java.lang.String getKeydefName()
|
Set attribute 1 as the name of an entity attribute referenced in a DataEntityHandler .
public void setEntityAttribute1(java.lang.String anAttributeName)
|
Set attribute 10 as the name of an entity attribute referenced in a DataEntityHandler .
public void setEntityAttribute10(java.lang.String anAttributeName)
|
Set attribute 2 as the name of an entity attribute referenced in a DataEntityHandler .
public void setEntityAttribute2(java.lang.String anAttributeName)
|
Set attribute 3 as the name of an entity attribute referenced in a DataEntityHandler .
public void setEntityAttribute3(java.lang.String anAttributeName)
|
Set attribute 4 as the name of an entity attribute referenced in a DataEntityHandler .
public void setEntityAttribute4(java.lang.String anAttributeName)
|
Set attribute 5 as the name of an entity attribute referenced in a DataEntityHandler .
public void setEntityAttribute5(java.lang.String anAttributeName)
|
Set attribute 6 as the name of an entity attribute referenced in a DataEntityHandler .
public void setEntityAttribute6(java.lang.String anAttributeName)
|
Set attribute 7 as the name of an entity attribute referenced in a DataEntityHandler .
public void setEntityAttribute7(java.lang.String anAttributeName)
|
Set attribute 8 as the name of an entity attribute referenced in a DataEntityHandler .
public void setEntityAttribute8(java.lang.String anAttributeName)
|
Set attribute 9 as the name of an entity attribute referenced in a DataEntityHandler .
public void setEntityAttribute9(java.lang.String anAttributeName)
|
Set name assigned to key definition.
public void setKeydefName(java.lang.String aName)
|
public class com.arsi.mj.maprpt.entity.keydef.ForeignKeyDef
extends java.lang.Object
Constructors |
public ForeignKeyDef()
|
Methods |
Get foreign columns that comprise this key definition.
public java.util.List foreignColumns()
|
Get column 1 as the name of a column referenced in foreign DataEntityHandler .
public java.lang.String getForeignColumn1()
|
Get column 10 as the name of a column referenced in a DataEntityHandler .
public java.lang.String getForeignColumn10()
|
Get column 2 as the name of a column referenced in a DataEntityHandler .
public java.lang.String getForeignColumn2()
|
Get column 3 as the name of a column referenced in a DataEntityHandler .
public java.lang.String getForeignColumn3()
|
Get column 4 as the name of a column referenced in a DataEntityHandler .
public java.lang.String getForeignColumn4()
|
Get column 5 as the name of a column referenced in a DataEntityHandler .
public java.lang.String getForeignColumn5()
|
Get column 6 as the name of a column referenced in a DataEntityHandler .
public java.lang.String getForeignColumn6()
|
Get column 7 as the name of a column referenced in a DataEntityHandler .
public java.lang.String getForeignColumn7()
|
Get column 8 as the name of a column referenced in a DataEntityHandler .
public java.lang.String getForeignColumn8()
|
Get column 9 as the name of a column referenced in a DataEntityHandler .
public java.lang.String getForeignColumn9()
|
Get name of table this foreign key references.
public java.lang.String getForeignTable()
|
Set column 1 as the name of a column referenced in a DataEntityHandler .
public void setForeignColumn1(java.lang.String aColumnName)
|
Set column 10 as the name of a column referenced in a DataEntityHandler .
public void setForeignColumn10(java.lang.String aColumnName)
|
Set column 2 as the name of a column referenced in a DataEntityHandler .
public void setForeignColumn2(java.lang.String aColumnName)
|
Set column 3 as the name of a column referenced in a DataEntityHandler .
public void setForeignColumn3(java.lang.String aColumnName)
|
Set column 4 as the name of a column referenced in a DataEntityHandler .
public void setForeignColumn4(java.lang.String aColumnName)
|
Set column 5 as the name of a column referenced in a DataEntityHandler .
public void setForeignColumn5(java.lang.String aColumnName)
|
Set column 6 as the name of a column referenced in a DataEntityHandler .
public void setForeignColumn6(java.lang.String aColumnName)
|
Set column 7 as the name of a column referenced in a DataEntityHandler .
public void setForeignColumn7(java.lang.String aColumnName)
|
Set column 8 as the name of a column referenced in a DataEntityHandler .
public void setForeignColumn8(java.lang.String aColumnName)
|
Set column 9 as the name of a column referenced in a DataEntityHandler .
public void setForeignColumn9(java.lang.String aColumnName)
|
Set name of table this foreign key references; a DataEntityHandler must be
defined for this table which is accessible from the DataEntityHandler defined
for the target table.
public void setForeignTable(java.lang.String aTableName)
|
public abstract class com.arsi.mj.maprpt.entity.keydef.PrimaryKeyDef
extends com.arsi.mj.maprpt.entity.keydef.DataEntityKeyDef
Constructors |
public PrimaryKeyDef()
|
Methods |
Get name of sequence number column introduced to ensure uniqueness.
public java.lang.String getSeqnumColumn()
|
Get gap between sequence numbers introduced to ensure uniqueness.
public int getSeqnumGap()
|
Determines if sequence number column should be introduced for positional access and DML.
Whether this sequence number column is included or not, it is assumed that the other
columns form a unique key on their own (use setSeqnumIncludedForUniqueness
if the other columns aren't unique).
public boolean isSeqnumIncludedForPosition()
|
Determines if sequence number column should be introduced to ensure uniqueness
of other key columns. Without this sequence number column, it is assumed that the
other columns form a unique key on their own.
public boolean isSeqnumIncludedForUniqueness()
|
Set name of sequence number column introduced to ensure uniqueness, if applicable.
public void setSeqnumColumn(java.lang.String aColumnName)
|
Set gap between sequence numbers introduced to ensure uniqueness, if applicable.
public void setSeqnumGap(int aGap)
|
Indicate that a sequence number column should be introduced for positional access and DML.
public void setSeqnumIncludedForPosition(boolean aIncludeSeqnumFlag)
|
Indicate that a sequence number column should be introduced to ensure uniqueness of other
key columns, as is expected of a primary key.
public void setSeqnumIncludedForUniqueness(boolean aIncludeSeqnumFlag)
|