|
Oracle ADF Model and Business Components API Reference 10.1.2 B14022-01 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.jbo.common.NamedObjectImpl
The base class for all business objects.
Field Summary | |
protected java.lang.String |
mFullName
|
protected java.lang.String |
mObjName
|
protected NamedObjectImpl |
mParent
|
protected com.sun.java.util.collections.HashMap |
mProperties
|
Constructor Summary | |
protected |
NamedObjectImpl()
|
Method Summary | |
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. |
com.sun.java.util.collections.HashMap |
getPropertiesMap()
Gets this object's properties. |
java.lang.Object |
getProperty(java.lang.String hintName)
Retrieves the specified property, if it exists. |
java.lang.Object |
refreshProperty(java.lang.String hintName)
Retrieves the specified property, if it exists. |
void |
setFullName(java.lang.String name)
Give this object a fully-qualified name. |
protected void |
setName(java.lang.String name)
Name this object. |
protected void |
setParent(NamedObjectImpl parent)
Sets this object's parent. |
protected void |
setPropertiesMap(com.sun.java.util.collections.HashMap ht)
Replaces all properties. |
void |
setProperty(java.lang.String hintName,
java.lang.Object hintValue)
Adds or changes a property. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected com.sun.java.util.collections.HashMap mProperties
protected java.lang.String mObjName
protected NamedObjectImpl mParent
protected java.lang.String mFullName
Constructor Detail |
protected NamedObjectImpl()
Method Detail |
protected 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()
public com.sun.java.util.collections.HashMap getPropertiesMap()
public java.util.Hashtable getProperties()
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 java.lang.Object refreshProperty(java.lang.String hintName)
getProperty
.
hintName
- Property name.
null
.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
.protected void setPropertiesMap(com.sun.java.util.collections.HashMap ht)
All existing properties are lost.
ht
- a hash table of properties.
|
Oracle ADF Model and Business Components API Reference 10.1.2 B14022-01 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2004, Oracle. All rights reserved.