Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.0.0)

E17493-01

oracle.javatools.util
Interface DynamicPropertySet

All Superinterfaces:
Copyable
All Known Subinterfaces:
AliasFragment, BinaryObject, ChildDBObject, DataType, DBObject, DBObjectUsage, DeclarativePlSql, DeclarativeSQLQuery, FromObjectUsage, JoinCondition, SchemaObject, SourceObject, SQLFragment, SQLQuery, SQLQueryOwner, SystemObject
All Known Implementing Classes:
AbstractAliasFragment, AbstractBuildableObject, AbstractChildDBObject, AbstractDBObject, AbstractDBObjectUsage, AbstractFromObjectUsage, AbstractSchemaObject, AbstractSchemaObjectUsage, AbstractSQLFragment, AbstractSQLQuery, AbstractSystemObject, ArithmeticOperation, AsteriskUsage, AutoExtendProperties, BaseDateTimeDataType, BinaryDataType, CaseStatement, CaseStatement.WhenThen, CharacterDataType, CheckConstraint, Column, ColumnConstraint, ColumnKeywordUsage, ColumnUsage, Comparison, ComplexType, Constraint, DatabaseLink, DataMiningFunction, DataMiningFunction.DataMiningArguments, DataMiningFunction.DataMiningCostValues, DataTypeAttribute, DataTypeSynonym, DataTypeUsage, DateDataType, DBObjectPlSqlFragment, Difference, Directory, DynamicPropertySetImpl, ExpressionList, FileSpecification, FKConstraint, FKUsage, FromObject, Function, Function, Function, FunctionUsage, GenerateDescriptor, GroupByExpression, GroupByObject, HierarchicalQueryObject, Index, IndexObject, IndexPartition, Indextype, Java, JavaClass, JavaResource, JavaSource, JoinObject, LOBDescriptor, MaterializedView, MaterializedViewLog, ModelObject, ModelObject.CellAssignment, ModelObject.CellReferenceOptions, ModelObject.ModelColumnClauses, ModelObject.ModelRulesCellAssignmentExpr, ModelObject.ModelRulesClause, ModelObject.MultiColumnForLoop, ModelObject.ReferenceModel, ModelObject.SingleColumnForLoop, NonDeclarativeSQLQuery, NumericDataType, ObjectType, ObjectTypeUsage, OnJoinCondition, Operation, OracleColumnProperties, OracleExternalTableProperties, OracleExternalTableProperties.LocationSpecifier, OracleIndexOrganizedTableProperties, OracleIndexPartitions, OracleNumberDataType, OracleSQLQuery, OracleStorageProperties, OracleTablePartitions, OracleTablespaceProperties, OrderByObject, Package, Package, PackageBody, PKConstraint, PlSql, PlSqlAttribute, PlSqlAttribute, PlSqlBlock, PlSqlDatatype, PlSqlMethod, PlSqlMethod, PlSqlParameter, PlSqlParameter, PlSqlReference, PlSqlSchemaObject, PlSqlSchemaObjectBody, PlSqlSchemaObjectSpec, PlSqlSubprogram, PlSqlSubProgram, PlSqlUsage, PlSqlVariable, PredefinedDataType, PredefinedDataTypeUsage, Procedure, Procedure, RecycledObject, Relation, RelationUsage, ResultSet, Schema, SelectObject, SelectObjectUsage, Sequence, SetOperation, SetOperator, SimpleSQLFragment, SpecPlSql, Synonym, SynonymUsage, Table, TablePartition, Tablespace, TimeStampTZDataType, Trigger, Trigger, Type, TypeBody, UniqueConstraint, UserDataType, UsingJoinCondition, View, ViewColumn, WhereObject, WindowFunction, WindowFunction.WindowFunctionBound, XMLSchema, XMLSchemaElement, XMLTypeColumnProperties

public interface DynamicPropertySet
extends Copyable

This class can be used by objects that need to manage a dynamic set of properties.


Method Summary
 java.util.Map getProperties()
          Retrieves a map holding the property-value pairs.
 java.lang.Object getProperty(java.lang.String key)
          Retrieves the value associated with a property.
 java.lang.Object getProperty(java.lang.String key, java.lang.Object defaultValue)
          Retrieves the value associated with a property.
 void setProperties(java.util.Map properties)
          Sets the map holding the property-value pairs.
 void setProperty(java.lang.String key, java.lang.Object value)
          Sets the value for a property.
 
Methods inherited from interface oracle.javatools.util.Copyable
copyTo
 

Method Detail

getProperty

java.lang.Object getProperty(java.lang.String key)
Retrieves the value associated with a property.

Parameters:
key - the property key for which a value is desired. exists.
Returns:
the value of the requested property, or a null value if the property does not exist or is not set.

getProperty

java.lang.Object getProperty(java.lang.String key,
                             java.lang.Object defaultValue)
Retrieves the value associated with a property. If no value exists for the requested property, the specified default value is returned.

Parameters:
key - the property key for which a value is desired.
defaultValue - the value to return if no value currently exists.
Returns:
the value of the requested property, or the default value if the property does not exist.

setProperty

void setProperty(java.lang.String key,
                 java.lang.Object value)
Sets the value for a property. Setting a value to null removes that property.

Parameters:
key - the property key to set
value - the value to set

getProperties

java.util.Map getProperties()
Retrieves a map holding the property-value pairs.


setProperties

void setProperties(java.util.Map properties)
Sets the map holding the property-value pairs.


Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.0.0)

E17493-01

Copyright © 1997, 2011, Oracle. All rights reserved.