|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 2 (11.1.2.0.0) E17483-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.jbo.common.NamedObjectImpl
public class NamedObjectImpl
The base class for all business objects.
Field Summary | |
---|---|
protected java.lang.String |
mFullName
|
protected java.lang.String |
mObjName
|
protected NamedObjectImpl |
mParent
|
protected java.util.Map |
mProperties
|
static java.lang.String |
RES_ID_SUFFIX
|
static java.lang.String |
RESID_SUFFIX
|
Constructor Summary | |
---|---|
protected |
NamedObjectImpl()
|
Method Summary | |
---|---|
protected java.util.Map |
allocatePropertyMap()
|
java.util.HashMap |
getAllProperties(java.util.HashMap map,
LocaleContext locale)
|
java.lang.String |
getFullName()
Gets this object's fully-qualified name. |
java.lang.String |
getName()
Get the name of this object. |
NamedObjectImpl |
getParent()
Gets this object's parent. |
java.util.Hashtable |
getProperties()
Gets this object's properties. |
java.lang.String[] |
getPropertiesAsStrings()
Gets this object's properties and presents them as a string array. |
java.util.HashMap |
getPropertiesMap()
Deprecated. use getPropertyMap instead |
java.lang.Object |
getProperty(java.lang.String hintName)
Retrieves the specified property, if it exists. |
java.lang.Object |
getProperty(java.lang.String property,
LocaleContext locale)
|
protected java.util.HashMap |
getPropertyExpressionsMap()
|
java.util.Map |
getPropertyMap()
Internal: Applications should not use this method. |
protected void |
getResourcesFromBundle(LocaleContext locale,
java.util.HashMap map)
|
protected java.lang.String |
getStringFromMessageBundle(java.lang.String property,
LocaleContext locale,
boolean tryNamedProperty)
internal only for framework use. |
boolean |
isPropertyExpression(java.lang.String hintName)
|
void |
mergePropertyMap(java.util.Map m)
|
java.lang.Object |
refreshProperty(java.lang.String hintName)
Retrieves the specified property, if it exists. |
void |
removeProperty(java.lang.String hintName)
Remove a property. |
void |
removeProperty(java.lang.String hintName,
LocaleContext locale)
|
protected boolean |
requiresNamePrefixedResId()
|
protected java.lang.Object |
resolveObjectProperty(java.lang.String property,
LocaleContext locale)
|
protected java.lang.Object |
resolvePropertyRaw(java.lang.String property,
LocaleContext locale)
|
void |
setFullName(java.lang.String name)
Give this object a fully-qualified name. |
void |
setName(java.lang.String name)
Name this object. |
protected void |
setParent(NamedObjectImpl parent)
Sets this object's parent. |
protected void |
setPropertiesMap(java.util.HashMap ht)
Deprecated. use setPropertyMap instead |
void |
setPropertiesMap2(java.util.HashMap ht)
Deprecated. use setPropertyMap instead |
void |
setProperty(java.lang.String hintName,
java.lang.Object hintValue)
Adds or changes a property. |
void |
setProperty(java.lang.String hintName,
java.lang.Object hintValue,
LocaleContext locale)
|
protected void |
setPropertyExpression(java.lang.String name,
java.lang.String expr)
|
void |
setPropertyMap(java.util.Map m)
Replaces all properties. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.String mObjName
protected NamedObjectImpl mParent
protected java.lang.String mFullName
protected volatile java.util.Map mProperties
public static java.lang.String RES_ID_SUFFIX
public static java.lang.String RESID_SUFFIX
Constructor Detail |
---|
protected NamedObjectImpl()
Method Detail |
---|
public void setName(java.lang.String name)
name
- the name to be given to this object.public java.lang.String getName()
public void setFullName(java.lang.String name)
name
- this object's fully-qualified name;
the package name concatenated with the class name.public java.lang.String getFullName()
protected void setParent(NamedObjectImpl parent)
parent
- the named object that is to be the parent of this object.public NamedObjectImpl getParent()
protected java.util.HashMap getPropertyExpressionsMap()
public java.util.HashMap getPropertiesMap()
public java.util.Map getPropertyMap()
protected java.util.Map allocatePropertyMap()
public java.util.Hashtable getProperties()
public java.util.HashMap getAllProperties(java.util.HashMap map, LocaleContext locale)
public java.lang.String[] getPropertiesAsStrings()
public java.lang.Object getProperty(java.lang.String hintName)
hintName
- a string to be used as a hash table key.
hintName
, if any,
otherwise null
.public final boolean isPropertyExpression(java.lang.String hintName)
public java.lang.Object refreshProperty(java.lang.String hintName)
getProperty
.
hintName
- Property name.
null
.public void removeProperty(java.lang.String hintName)
hintName
- a string to be used as a hash table key.public void removeProperty(java.lang.String hintName, LocaleContext locale)
public void setProperty(java.lang.String hintName, java.lang.Object hintValue)
hintName
- a string to be used as a hash table key.hintValue
- an object to be associated with key
.public void setProperty(java.lang.String hintName, java.lang.Object hintValue, LocaleContext locale)
public void setPropertyMap(java.util.Map m)
All existing properties are lost.
ht
- a hash table of properties.protected void setPropertyExpression(java.lang.String name, java.lang.String expr)
public void mergePropertyMap(java.util.Map m)
protected void setPropertiesMap(java.util.HashMap ht)
All existing properties are lost.
ht
- a hash table of properties.public void setPropertiesMap2(java.util.HashMap ht)
All existing properties are lost.
ht
- a hash table of properties.public java.lang.Object getProperty(java.lang.String property, LocaleContext locale)
protected boolean requiresNamePrefixedResId()
protected java.lang.Object resolveObjectProperty(java.lang.String property, LocaleContext locale)
protected java.lang.Object resolvePropertyRaw(java.lang.String property, LocaleContext locale)
protected java.lang.String getStringFromMessageBundle(java.lang.String property, LocaleContext locale, boolean tryNamedProperty)
protected void getResourcesFromBundle(LocaleContext locale, java.util.HashMap map)
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 2 (11.1.2.0.0) E17483-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |