|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.ifs.beans.LibraryObjectDefinition | +--oracle.ifs.beans.PublicObjectDefinition | +--oracle.ifs.beans.ApplicationObjectDefinition | +--oracle.ifs.beans.PropertyBundleDefinition
A PropertyBundleDefinition class is used to create or update a PropertyBundle.
Most of the specifications can be set using the setAttribute() method inherited from LibraryObjectDefinition. Only the methods used to add Property objects to the new or updated PropertyBundle require methods specific to this class.
LibraryObjectDefinition
,
PropertyBundle
,
PropertyDefinition
Constructor Summary | |
PropertyBundleDefinition(LibrarySession session)
Constructs a PropertyBundleDefinition explicitly capturing the session. |
Method Summary | |
void |
addPropertyDefinition(PropertyDefinition def)
Adds a Property to the new PropertyBundle. |
void |
addPropertyValue(AttributeValue av)
Adds a Property Value to the new PropertyBundle. |
void |
addPropertyValue(java.lang.String name,
AttributeValue av)
Adds a Property Value to the new PropertyBundle. |
PropertyDefinition[] |
getPropertyDefinitions()
Gets all PropertyDefinition in the PropertyBundleDefinition. |
void |
resetPropertyDefinitions()
Clears any PropertyDefinition previously added to this PropertyBundleDefinition. |
Methods inherited from class oracle.ifs.beans.LibraryObjectDefinition |
clone, getAttribute, getAttributes, getClassObject, getOption, getOptionKeys, removeAttribute, removeOption, setAttribute, setAttribute, setAttributeByUpperCaseName, setAttributes, setClassObject, setOption |
Constructor Detail |
public PropertyBundleDefinition(LibrarySession session) throws IfsException
session
- the sessionIfsException
- if the operation failsMethod Detail |
public void addPropertyValue(AttributeValue av) throws IfsException
This results in the creation of a PropertyDefintion, which gets added to the list of Properties to create.
av
- the AttributeValue representing the Property valueIfsException
- if the operation failspublic void addPropertyValue(java.lang.String name, AttributeValue av) throws IfsException
This results in the creation of a PropertyDefintion, which gets added to the list of Properties to create.
name
- the Property nameav
- the Property valueIfsException
- if the operation failspublic final void addPropertyDefinition(PropertyDefinition def) throws IfsException
def
- the PropertyDefinition of the new PropertyIfsException
- if the operation failspublic void resetPropertyDefinitions() throws IfsException
IfsException
- if the operation failspublic PropertyDefinition[] getPropertyDefinitions() throws IfsException
IfsException
- if the operation fails
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |