|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--oracle.ifs.beans.LibraryObject
|
+--oracle.ifs.beans.TieLibraryObject
|
+--oracle.ifs.beans.PublicObject
|
+--oracle.ifs.beans.TiePublicObject
|
+--oracle.ifs.beans.ApplicationObject
|
+--oracle.ifs.beans.TieApplicationObject
|
+--oracle.ifs.beans.PropertyBundle
A PropertyBundle contains a set of name/value pairs, and behaves like a java.util.Hashtable.
PropertyBundles are used for several intrinsic features of iFS:
PropertyDefinition,
PropertyBundle,
PropertyBundleDefinition| Field Summary | |
static java.lang.String |
CLASS_NAME
Name of this class. |
| Method Summary | |
Property[] |
getProperties()
Gets all the properties in this PropertyBundle. |
Property |
getProperties(int index)
Gets the Property at the specified index. |
AttributeValue |
getPropertyValue(java.lang.String name)
Gets the value of a specific Property by name. |
AttributeValue |
getPropertyValueByUpperCaseName(java.lang.String name)
Gets the value of a specific Property by name, where the name must be in all uppercase. |
void |
handleEvent(IfsEvent event)
Handles the specified event. |
void |
putPropertyValue(AttributeValue av)
Puts a new value for a Property, replacing any attribute of the same name (analogous to Hashtable.put()). |
void |
putPropertyValue(java.lang.String name,
AttributeValue av)
Puts a new value for a Property, replacing any attribute of the same name (analogous to Hashtable.put()). |
void |
removeAllPropertyValues()
Removes all Properties from this PropertyBundle. |
void |
removePropertyValue(java.lang.String name)
Removes a Property, if it exists in this PropertyBundle (analogous to Hashtable.remove()) |
| Methods inherited from class oracle.ifs.beans.LibraryObject |
equals, free, free, getAttribute, getAttributeByUpperCaseName, getAttributes, getAttributesByUpperCaseNames, getClassId, getClassObject, getDefinition, getId, getLabel, getName, getSession, invokeServerMethod, isInstanceOf, isTraced, lookupInstanceLabel, postEvent, postEvent, renderAsReader, renderAsStream, setAttribute, setAttribute, setAttributes, setAttributes, setName, toString, trace, update |
| Methods inherited from interface oracle.ifs.common.LibraryObjectInterface |
getId |
| Methods inherited from interface oracle.ifs.common.Traceable |
getTraceLogger, isTraced, trace |
| Field Detail |
public static final java.lang.String CLASS_NAME
| Method Detail |
public Property[] getProperties()
throws IfsException
IfsException - if the operation fails
public Property getProperties(int index)
throws IfsException
index - index into the Property arrayIfsException - if operation fails
public AttributeValue getPropertyValue(java.lang.String name)
throws IfsException
name - name of the PropertyIfsException - if the operation fails
public AttributeValue getPropertyValueByUpperCaseName(java.lang.String name)
throws IfsException
This is equivalent to getPropertyValue , but avoids an
unnecessary conversion of the name to upper case.
name - uppercased name of the PropertyIfsException - if the operation fails
public void handleEvent(IfsEvent event)
throws IfsException
handleEvent in class PublicObjectevent - the eventIfsException - if the operation fails
public void putPropertyValue(java.lang.String name,
AttributeValue av)
throws IfsException
name - the name of the Propertyav - the AttributeValue containing the new value;IfsException - if the operation fails
public void putPropertyValue(AttributeValue av)
throws IfsException
av - the AttributeValue containing the new value;
implies the name & data typeIfsException - if the operation fails
public void removePropertyValue(java.lang.String name)
throws IfsException
name - the name of the PropertyIfsException - if the operation fails
public void removeAllPropertyValues()
throws IfsException
IfsException - if the operation fails
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||