public class StructureDefImpl extends MetaObject implements StructureDef, ValidationManager
ApplicationModule,
RowSetPersistableDefObject.CustomizationType, PersistableDefObject.PersonalizationType| Modifier and Type | Field and Description |
|---|---|
protected boolean |
loaded |
protected StructureDefImpl[] |
mAccessors |
protected AttributeDefImpl[] |
mAttrs |
protected java.lang.Class |
mBeanClass |
protected java.lang.String |
mBeanClassName |
protected boolean |
mElementsScalar |
protected StructureDefImpl[] |
mMethodAccessors |
protected java.lang.String |
mMsgClassName |
protected java.lang.String |
mName |
protected StructureDefImpl[] |
mScalarAccessors |
static java.lang.String |
PName_AccessorAttribute |
static java.lang.String |
PName_ArrayElementType |
static java.lang.String |
PName_Attribute |
static java.lang.String |
PName_BeanClass |
static java.lang.String |
PName_CollectionBeanClass |
static java.lang.String |
PName_Event |
static java.lang.String |
PName_Events |
static java.lang.String |
PName_FieldName |
static java.lang.String |
PName_FieldType |
static java.lang.String |
PName_IsCollection |
static java.lang.String |
PName_IsStructured |
static java.lang.String |
PName_MsgBundleClass |
static java.lang.String |
PName_Name |
static java.lang.String |
PName_ReadOnly |
static java.lang.String |
SCALAR_ELEMENT_NAME |
INHERIT_POLICY_DEFAULT, INHERIT_POLICY_LEGACY, INHERIT_POLICY_STRICT, mComponentClass, mDebug_checkDef_throw, PERSMERGED_BASE_PACKAGE, PUBLISH_TO_BUSINESS_EDITOR_DEFAULT, PUBLISH_TO_BUSINESS_EDITOR_FALSE, PUBLISH_TO_BUSINESS_EDITOR_TRUE, SI_CustIntoStaticDef, SI_InheritPersonalization, SI_InheritPolicy, SI_MessageBundleClass, SI_ResourceBundleDef, SMAX_MetaObjectJIT_PACKAGE_NAME, mDebugToSkipEmptyDocForBug24949961, mEditedProperties, mEditedPropertyExprsDEF_MDS_CLIENT_KEY, DEF_SCOPE_ALL, DEF_SCOPE_PERS, DEF_SCOPE_SESSION, DEF_SCOPE_SHARED, DEF_SCOPE_SITE, DEF_SCOPE_USER, mBaseDefObject, mExtendedDefObjects, mObjectResolved, PERSDEF_MDS_CLIENT_KEY, PROPERTY_EXPRMAPmFullName, mObjName, mParent, mProperties, RES_ID_SUFFIX, RESID_SUFFIXFLAG_DIRTY, FLAG_EDITABLE, FLAG_FROM_TIP, FLAG_LOAD_BASE, FLAG_LOAD_HL_DEFS, FLAG_MAJOR_VERSION_CHANGED, FLAG_MINOR_VERSION_CHANGED, FLAG_NEW, FLAG_NEW_RECURSE, FLAG_SKIP_WRITE, XML_STATEMENT| Constructor and Description |
|---|
StructureDefImpl()
For internal use
|
StructureDefImpl(DCDataControl app,
java.lang.String sDefName,
java.lang.String sName) |
| Modifier and Type | Method and Description |
|---|---|
void |
addValidator(JboValidatorInterface intf) |
void |
clearDefinition()
Deprecated.
since 12.2.2.1.0. Use
oracle.adf.model.bean.DCBeanDataControl#cleanDefinition(String ) instead. |
AttributeDef |
createAccessorAttributeDef(java.lang.String accName,
StructureDefImpl accDef,
boolean add)
For internal framework use only
|
static StructureDefImpl |
createAndLoadFromXML(DefElement elem) |
protected AccessorDefImpl |
createNewAccessor(java.lang.String sDefName,
AccessorDefinition accDef227,
DCDataControl app) |
protected AccessorDefImpl |
createNewAccessor(java.lang.String sDefName,
java.lang.String sName,
DCDataControl app) |
ViewCriteria |
createViewCriteria() |
AttributeDef |
findAttributeDef(java.lang.String name)
Gets an attribute definition, given its name.
|
StructureDefImpl |
getAccessorDef(java.lang.String name) |
StructureDefImpl[] |
getAccessors() |
java.util.ArrayList |
getAllEventdefinitions(java.lang.String methodAccName,
java.lang.String[] argTypes)
Gets EventDefintions Array List , it includes event defs associated with all the child StructureDef's of this Structure Def
|
java.util.Map |
getAllViewCriteriasMapInternal() |
java.lang.String |
getArrayElementType() |
int |
getAttributeCount()
Returns the number of defined attributes.
|
AttributeDef |
getAttributeDef(int index)
Gets an attribute definition, given its index.
|
AttributeDef[] |
getAttributeDefs()
Gets the defined attributes.
|
int |
getAttributeIndexOf(java.lang.String name)
Finds the index (0-based) of the named attribute.
|
java.lang.Class |
getBeanClass() |
java.lang.String |
getBeanClassName() |
java.lang.String |
getColumnNameForQuery(int index) |
java.lang.String |
getDefFullName()
Returns the fully qualified name of the structure's base definition.
|
java.lang.String |
getDefName()
Returns the structure's base definition name (short form).
|
int |
getDefTypeId() |
java.lang.String |
getFieldType() |
java.lang.String |
getFullName()
Gets this object's fully-qualified name.
|
java.lang.String |
getMessageBundleClassName() |
StructureDefImpl[] |
getMethodAccessors()
Advanced only for testing purposes.
|
java.lang.String |
getName()
Get the name of this object.
|
ResourceBundleDef |
getResourceBundleDef(java.lang.String resBundleId) |
protected StructureDefImpl[] |
getScalarAccessorsList() |
StructureDef |
getStructureDef() |
java.util.ArrayList |
getValidators() |
void |
init(java.util.HashMap map)
Advanced only for testing purposes.
|
boolean |
isCollection() |
boolean |
isElementsScalar()
Advanced only for testing purposes.
|
boolean |
isStructured() |
protected void |
loadFromXML(java.lang.String beanClass) |
protected void |
loadListBindings(DefElement xmlElement) |
protected void |
loadVariables(DefElement xmlElement) |
AttributeDef |
lookupAttributeDef(java.lang.String name)
Gets an attribute definition, given its name.
|
void |
putViewCriteria(java.lang.String name,
ViewCriteria criteria) |
protected void |
readChildren(DefElement elem) |
void |
readContents(DefElement elem) |
protected void |
referToMOMStructureDef(java.lang.String beanClass) |
void |
resolveDefObject() |
void |
setAccessors(StructureDefImpl[] ad)
Advanced only for testing purposes.
|
void |
setArrayElementType(java.lang.String sType) |
void |
setAttributes(AttributeDefImpl[] ad)
Advanced only for testing purposes.
|
void |
setBeanClassName(java.lang.String sName) |
protected void |
setDefForComponent(ComponentObjectImpl comp) |
void |
setFieldType(java.lang.String sType) |
void |
setIsCollection(boolean bSet) |
void |
setIsStructured(boolean bSet) |
void |
setMethodAccessors(StructureDefImpl[] ad)
Advanced only for testing purposes.
|
void |
setName(java.lang.String str)
Name this object.
|
protected boolean |
throwOnListBindingMismatch() |
protected void |
unsetDefForComponent(ComponentObjectImpl comp) |
adjustPropertyMapForWrite, checkEditable, createDefCustomizer, deregisterSessionObject, doneLoadingInternal, extractCustIntoPDef, getDefCustomizerFullFileName, getDefCustomizerFullName, getDefCustomizerName, getEditObject, getEditVersionsAsString, getInheritPersonalizationStrValue, getInheritPersonalizationValue, getInheritPolicyStrValue, getInheritPolicyValue, getMajorVersion, getMessageBundleClass, getMinorVersion, getMsgBundleDef, getPackageDef, getPackageName, getPersDef, getPersDefForEdit, getPersDefNoUpdateCheck, getPersMergedDef, getPublishToBusinessEditorValue, getResourceBundleDef, getResourcePrefix, getScalarDirtyCount, getStaticBaseDefObject, getStaticDef, isAutoMerged, isConvertPDef, isCreateEditPDef, isCustIntoStaticDef, isDefCustomizer, isDefNewBase, isDynamic, isEditable, isInheritPersonalization, isInheritPolicyLegacy, isInheritPolicyStrict, isPublishToBusinessEditor, isScalarDirty, loadDefVersions, loadResourceBundle, loadXMLContents, lookupDefCustomizer, lookupPublishedDefCustomizer, newComponentClassInstance, objectFound, objectRemoved, registerDefObject, registerSessionDefObject, resetDefResolved, saveXMLContents, setCustIntoStaticDef, setDefCustomizer, setDefScope, setDirty, setEditable, setFullName, setInheritPersonalization, setInheritPersonalizationStrValue, setInheritPolicyStrValue, setMessageBundleClass, setPublishToBusinessEditor, setPublishToBusinessEditorValue, setResourceBundleDef, setScalarDirty, setupDefWriterFromMO, writeChildren, writeContents, writeXMLContentsaddChildren, applyDiffChildren, callFinishedLoading, diffChildren, ensureVariableManager, finishedLoading, getAdfmConfigStartupProperty, getAllProperties, getBaseDefObject, getBooleanAdfmConfigProperty, getDefXMLNameSpace, getVariableManager, getVarMgrParents, hasVariables, isDeprecated, isFromCustomization, loadProperties, resolvePropertyRaw, resolveReferences, setBaseDefObject, setBaseDefObject, setParentaddDefImport, addExtendedDefObject, addSavedDocName, allocatePDef, allocatePropertyMap, allocatePropertyMapForEdits, applyDiffContents, baseIsWriteObject, beginDiffObjects, buildChildName, buildFileName, checkEditableWithDefWriter, checkStructWithOld, close, createEditPDef, createFromXML, deregisterDefObject, deregisterHLDef, diffChildrenHLDefs, diffChildrenProperties, diffContents, diffObjects, ensureDifferDetails, ensureDifferSkip, findDefImport, forgetChanges, getBaseDir, getBasePackage, getChildren, getDefImports, getDefManager, getDefTypeName, getDefWriter, getDefXMLElementTag, getDifferSkip, getEditedPropertiesMap, getEditedPropertyExpressionsMap, getEditedPropertyMap, getExtendedDefObjectsInternal, getFileName, getFullDirName, getFullFileName, getHLDefMap, getIdentificationAttributeName, getMergeableFullName, getMergeableName, getOrigObject, getPropertyMap, getPropertyNamesSet, getSavedDocNames, getSessionSyncLock, getSubstitutedNames, getSyncLock, getXMLElementTag, guaranteePath, hasExtendedDefObjects, includeCustomizationLayerInfo, isCustomizationEnabled, isCustomizationEnabled, isDirty, isFromTip, isLoadBase, isLoadHLDefs, isMajorVersionChanged, isMinorVersionChanged, isNew, isNewRecurse, isPersonalizationEnabled, isPersonalizationEnabled, isPropertyExpression, isSaveToJSON, isSkipWrite, isWriteObject, loadDefImports, loadDefObject, loadXMLContentsNoResolve, lockDefinitionContext, lookupHLDef, makeNew, mergeChanges, mergeEditedPropertiesForJSON, mergePropertyMap, postSaveContents, readJSONObject, reapplyChanges, registerClass, registerHLDef, registerSiteDefObject, reloadFromXMLContents, remove, removeAndDelete, removeDefImport, removeExtendedDefObject, removeProperty, saveJSONContents, setCustomizationEnabled, setCustomizationEnabled, setDefaultBaseDir, setDefMgr, setEditableFlag, setEditableObject, setForRuntime, setFullNameInternal, setLoadBase, setLoadHLDefs, setMajorVersionChanged, setNew, setNewRecurse, setOrigObject, setPersonalizationEnabled, setPersonalizationEnabled, setProperty, setPropertyExpression, setPropertyMap, setSkipWrite, setWholeDefDirty, setWholeDefNew, staticUpdateChildrenList, transferDefChangesInto, unlockDefinitionContext, updateChildObject, updateChildrenList, updateMdsKeyFromTip, verifyVersion, verifyVersionNullCheck, writeHeaderForNew, writeJSONContents, writeObject, writeVersionaddPropertySetName, enableUpdateCheck, getAllExtendedDefObjects, getContainerDef, getContainerName, getDefinitionState, getDefScope, getExtendedDefObjects, getMdsKey, getMdsReference, getMdsReferenceName, getPropertySetName, getPropertySetNames, getRootBaseDefObject, isBaseDefFor, isComponentDefinition, isDynamicDefinitionObject, isObjectResolved, isSubtypeOf, isSuppressUpdateCheck, loadCustomProperties, loadPropertiesInMap, loadPropertySetNames, loadSchemaProperties, objectInserted, setMdsKey, setMdsReference, setObjectResolved, setPropertySetName, staticLoadCustomProperties, staticLoadSchemaProperties, suppressUpdateCheckgetParent, getProperties, getPropertiesAsStrings, getPropertiesMap, getProperty, getProperty, getPropertyExpressionDef, getPropertyExpressionsMap, getPropertyExprEval, getRawPropertyValue, getResourcesFromBundle, getStringFromMessageBundle, hasProperty, refreshProperty, removeProperty, requiresNamePrefixedResId, resolveObjectProperty, setPropertiesMap, setPropertiesMap2, setProperty, setPropertyExpressionMap, setRawPropertyValueclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetResourceBundleDefgetProperty, removeProperty, setPropertyprotected AttributeDefImpl[] mAttrs
protected StructureDefImpl[] mAccessors
protected StructureDefImpl[] mScalarAccessors
protected StructureDefImpl[] mMethodAccessors
protected java.lang.String mName
protected java.lang.String mMsgClassName
protected java.lang.String mBeanClassName
protected java.lang.Class mBeanClass
protected boolean mElementsScalar
protected boolean loaded
public static final java.lang.String PName_Attribute
public static final java.lang.String PName_AccessorAttribute
public static final java.lang.String PName_FieldName
public static final java.lang.String PName_FieldType
public static final java.lang.String PName_BeanClass
public static final java.lang.String PName_MsgBundleClass
public static final java.lang.String PName_IsCollection
public static final java.lang.String PName_IsStructured
public static final java.lang.String PName_ArrayElementType
public static final java.lang.String PName_Name
public static final java.lang.String PName_ReadOnly
public static final java.lang.String PName_Events
public static final java.lang.String PName_Event
public static final java.lang.String SCALAR_ELEMENT_NAME
public static final java.lang.String PName_CollectionBeanClass
public StructureDefImpl()
public StructureDefImpl(DCDataControl app, java.lang.String sDefName, java.lang.String sName)
public java.lang.String getName()
NamedObjectImplgetName in interface ValidationManagergetName in interface StructureDefgetName in interface VariableManagerOwnergetName in class NamedObjectImpl@Restricted public java.lang.String getFullName()
NamedObjectImplgetFullName in interface DefPersistablegetFullName in interface ValidationManagergetFullName in interface StructureDefgetFullName in class NamedObjectImplpublic java.lang.String getDefName()
StructureDefgetName() returns the VO's
instance name and getDefName() returns the
View definition's name.
getDefName in interface StructureDefpublic java.lang.String getDefFullName()
StructureDefgetFullName() returns the VO's
full instance name and getDefFullName() returns the
View definition's full name.
getDefFullName in interface StructureDefpublic java.lang.String getArrayElementType()
public void setArrayElementType(java.lang.String sType)
public boolean isStructured()
public void setIsStructured(boolean bSet)
public boolean isCollection()
public void setIsCollection(boolean bSet)
@Restricted public AttributeDef[] getAttributeDefs()
getAttributeDefs in interface StructureDefpublic int getAttributeCount()
getAttributeCount in interface StructureDefpublic AttributeDef findAttributeDef(java.lang.String name)
findAttributeDef in interface StructureDefname - the name of an AttributeDef.NoDefException - - if the attribute is not found.public AttributeDef lookupAttributeDef(java.lang.String name)
lookupAttributeDef in interface StructureDefname - the name of an AttributeDef.public AttributeDef getAttributeDef(int index)
getAttributeDef in interface StructureDefindex - the index of an AttributeDef, where the leftmost
attribute has index zero.public int getAttributeIndexOf(java.lang.String name)
StructureDefgetAttributeIndexOf in interface StructureDefname - the attribute's name.0 to getAttributeCount() - 1.
If the named attribute is not found, it returns -1.public java.lang.String getColumnNameForQuery(int index)
getColumnNameForQuery in interface StructureDef@Restricted public StructureDefImpl getAccessorDef(java.lang.String name)
public AttributeDef createAccessorAttributeDef(java.lang.String accName, StructureDefImpl accDef, boolean add)
public StructureDefImpl[] getAccessors()
public static StructureDefImpl createAndLoadFromXML(DefElement elem)
protected void loadFromXML(java.lang.String beanClass)
public void init(java.util.HashMap map)
public void readContents(DefElement elem)
protected void readChildren(DefElement elem)
protected void loadListBindings(DefElement xmlElement)
protected boolean throwOnListBindingMismatch()
protected void referToMOMStructureDef(java.lang.String beanClass)
public final boolean isElementsScalar()
protected StructureDefImpl[] getScalarAccessorsList()
protected AccessorDefImpl createNewAccessor(java.lang.String sDefName, java.lang.String sName, DCDataControl app)
protected AccessorDefImpl createNewAccessor(java.lang.String sDefName, AccessorDefinition accDef227, DCDataControl app)
public void setAttributes(AttributeDefImpl[] ad)
public void setAccessors(StructureDefImpl[] ad)
@Concealed public void setName(java.lang.String str)
DefObjectpublic java.lang.String getFieldType()
public void setFieldType(java.lang.String sType)
public java.lang.String getMessageBundleClassName()
public java.lang.String getBeanClassName()
public void setBeanClassName(java.lang.String sName)
public java.lang.Class getBeanClass()
public void addValidator(JboValidatorInterface intf)
addValidator in interface ValidationManagerpublic java.util.ArrayList getValidators()
getValidators in interface ValidationManagerpublic void setMethodAccessors(StructureDefImpl[] ad)
public StructureDefImpl[] getMethodAccessors()
public java.util.ArrayList getAllEventdefinitions(java.lang.String methodAccName,
java.lang.String[] argTypes)
public void clearDefinition()
oracle.adf.model.bean.DCBeanDataControl#cleanDefinition(String ) instead.@Concealed public java.util.Map getAllViewCriteriasMapInternal()
public void putViewCriteria(java.lang.String name,
ViewCriteria criteria)
public ViewCriteria createViewCriteria()
protected void loadVariables(DefElement xmlElement)
loadVariables in class DefObjectpublic void resolveDefObject()
resolveDefObject in class MetaObjectpublic int getDefTypeId()
getDefTypeId in class DefObjectprotected void setDefForComponent(ComponentObjectImpl comp)
setDefForComponent in class DefObjectprotected void unsetDefForComponent(ComponentObjectImpl comp)
unsetDefForComponent in class DefObjectpublic ResourceBundleDef getResourceBundleDef(java.lang.String resBundleId)
getResourceBundleDef in interface ValidationManagerpublic StructureDef getStructureDef()
getStructureDef in interface ValidationManager