public class RowReference extends ComponentObjectImpl implements DefPersistable
NAME
RowReference.java - Base class for view object bases.
DESCRIPTION
NOTES
VERSION
MODIFIED (MM/DD/YY)
| Modifier and Type | Field and Description |
|---|---|
static byte |
EFFDT_USAGE_HAS_IMPLICIT_ATTRS |
static java.lang.String |
EFFDT_USAGE_HAS_IMPLICIT_ATTRS_STR |
static byte |
EFFDT_USAGE_NO_OVERRIDE |
static byte |
EFFDT_USAGE_OVERRIDE_FALSE |
static java.lang.String |
EFFDT_USAGE_OVERRIDE_FALSE_STR |
mFullName, mObjName, mParent, mProperties, RES_ID_SUFFIX, RESID_SUFFIXXML_STATEMENTDEFINITION_STATE_ACTIVE, DEFINITION_STATE_DEPRECATED, PROPERTY_DEFINITION_STATE, PROPERTY_LABEL, PROPERTY_LABEL_PLURAL, PROPERTY_TOOLTIP| Modifier and Type | Method and Description |
|---|---|
protected ViewAttributeDefImpl |
findViewAttrDefByBaseAttrName(java.lang.String name,
AttributeDefImpl attr) |
protected ViewAttributeDefImpl |
findViewAttrDefByViewAttrName(java.lang.String name,
AttributeDefImpl attr) |
protected ViewAttributeDefImpl |
findViewAttributeDefImpl(java.lang.String name) |
protected java.util.ArrayList |
findViewAttributeDefImpls(AttributeDefImpl attr) |
DefObject |
getDef()
Gets the Def Object.
|
java.lang.String |
getDefXMLElementTag() |
java.lang.String |
getDefXMLNameSpace() |
int |
getJoinType()
Returns the join type if the Entity Reference participates in one.
|
static int |
getJoinType(java.lang.String type) |
static java.lang.String |
getJoinTypeAsString(int joinType)
Returns the join type as a
String so that
it can be used in SQL generation. |
DefPersistable |
getOrigObject() |
java.lang.String |
getXMLElementTag()
Returns a piece of static info for the type of object this is invoked
upon.
|
boolean |
isDeleteParticipant()
Does this Referant Entity participate in the Delete processing in
this usage.
|
boolean |
isDirty()
This method returns if an Object is modified from last save/load
|
boolean |
isEffectiveDated()
Checks if the underlying entity is used in an
effective dated fashion or not.
|
boolean |
isEntireObjectTable() |
boolean |
isInsertParticipant()
Does this Referant Entity participate in the Delete processing in
this usage.
|
boolean |
isLockParticipant()
Does this Referant Entity participate in the Lock processing in
this usage.
|
boolean |
isNew()
This method returns if this object is previously persisted.
|
boolean |
isReadOnly() |
boolean |
isReference()
Does this Referant Entity participate in the DML.
|
static boolean |
isSame(RowReference left,
RowReference right) |
void |
setDirty(boolean b)
This method marks the Object dirty
|
void |
setEntireObjectTable(boolean b) |
void |
setFullName(java.lang.String name)
Give this object a fully-qualified name.
|
void |
setJoinType(int joinType)
Set the type of join.
|
void |
setName(java.lang.String name)
Name this object.
|
void |
setNew(boolean b)
This method marks the as previously persisted.
|
void |
setOrigObject(DefPersistable origObject) |
void |
setReadOnly(boolean state)
Set the Referant Entity to READ-ONLY entity usage
|
void |
setReference(boolean state)
Set the Referant Entity to REFERENCE-ONLY enable entity lookup on source key attribute change.
|
void |
writeChildren(DefWriter jos)
Writes the Object's children to the Persistent storage
|
void |
writeContents(DefWriter jos)
Objects should write their persistence output in this method
|
void |
writeObject(DefWriter jos)
Objects should write their persistence output in this method
|
addListener, applyPersonalization, applyPersonalization, create, createRef, createVariableValueManager, editCodeSource, ensureCodeSource, ensureVariableManager, findPersDefObject, getAdfmConfigStartupProperty, getAllProperties, getApplicationModule, getBooleanAdfmConfigProperty, getCompListeners, getCompListenersList, getDefFullName, getDefinitionManager, getDefinitionState, getDefName, getFullNameForPersDef, getHintValue, getLabel, getLabelPlural, getMessageBundleClass, getOperationDefinitions, getProxyClassName, getProxyClassName, getResourceBundleDef, getRootApplicationModule, getRowOperationDefinitions, getStringFromMessageBundle, getTooltip, getVariableManager, hasVariables, isDead, isPersonalized, isRegWithPiggyMan, lookupExprDef, remove, resolvePropertyRaw, setParent, setProxyClassNameisPropertyExpression, setParent, setPropertiesMapallocatePropertyMap, getFullName, getName, getParent, getProperties, getPropertiesAsStrings, getPropertiesMap, getProperty, getProperty, getPropertyExpressionDef, getPropertyExpressionsMap, getPropertyMap, getPropertyNamesSet, getRawPropertyValue, getResourcesFromBundle, mergePropertyMap, refreshProperty, removeProperty, removeProperty, requiresNamePrefixedResId, resolveObjectProperty, setPropertiesMap2, setProperty, setProperty, setPropertyExpression, setPropertyMapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFullNamegetFullName, getNamegetProperties, getProperty, getProperty, refreshPropertygetNamegetFullNamepublic static final byte EFFDT_USAGE_NO_OVERRIDE
public static final byte EFFDT_USAGE_OVERRIDE_FALSE
public static final byte EFFDT_USAGE_HAS_IMPLICIT_ATTRS
public static final java.lang.String EFFDT_USAGE_OVERRIDE_FALSE_STR
public static final java.lang.String EFFDT_USAGE_HAS_IMPLICIT_ATTRS_STR
public void setName(java.lang.String name)
ComponentObjectImplsetName in class ComponentObjectImplname - the name to be given to this object.public boolean isNew()
DefPersistableisNew in interface DefPersistablepublic void setNew(boolean b)
DefPersistablesetNew in interface DefPersistableb - If true the Object is marked as new object.public boolean isDirty()
DefPersistableisDirty in interface DefPersistablepublic void setDirty(boolean b)
DefPersistablesetDirty in interface DefPersistableb - If true the Object is marked Dirty.public DefPersistable getOrigObject()
getOrigObject in interface DefPersistablepublic void setOrigObject(DefPersistable origObject)
setOrigObject in interface DefPersistablepublic void setFullName(java.lang.String name)
NamedObjectImplsetFullName in class NamedObjectImplname - this object's fully-qualified name;
the package name concatenated with the class name.public DefObject getDef()
ComponentObjectImplpublic boolean isLockParticipant()
public boolean isDeleteParticipant()
public boolean isInsertParticipant()
public boolean isEntireObjectTable()
public void setEntireObjectTable(boolean b)
public void setReference(boolean state)
state - True to be REFERENCE, false otherwise.public void setReadOnly(boolean state)
state - True to be READONLY , false otherwise.public boolean isReference()
protected ViewAttributeDefImpl findViewAttrDefByViewAttrName(java.lang.String name, AttributeDefImpl attr)
protected ViewAttributeDefImpl findViewAttrDefByBaseAttrName(java.lang.String name, AttributeDefImpl attr)
protected ViewAttributeDefImpl findViewAttributeDefImpl(java.lang.String name)
protected java.util.ArrayList findViewAttributeDefImpls(AttributeDefImpl attr)
public boolean isReadOnly()
public void writeObject(DefWriter jos)
PersistentDefinitionwriteObject in interface PersistentDefinitionjos - the Output storage for persistencepublic void writeContents(DefWriter jos)
PersistentDefinitionwriteContents in interface PersistentDefinitionjos - the Output storage for persistencepublic void writeChildren(DefWriter jos)
PersistentDefinitionwriteChildren in interface PersistentDefinitionjos - the Output storage for persistencepublic java.lang.String getXMLElementTag()
PersistentDefinitiongetXMLElementTag in interface PersistentDefinitionpublic java.lang.String getDefXMLElementTag()
getDefXMLElementTag in interface PersistentDefinitionpublic java.lang.String getDefXMLNameSpace()
getDefXMLNameSpace in interface PersistentDefinitionpublic void setJoinType(int joinType)
setFromClause and setWhereClause
on the ViewDefImpl class.joinType - The type of joinpublic int getJoinType()
public static java.lang.String getJoinTypeAsString(int joinType)
String so that
it can be used in SQL generation.String objectpublic static int getJoinType(java.lang.String type)
public boolean isEffectiveDated()
true if the usage is effective dated,
public static boolean isSame(RowReference left, RowReference right)