public interface IDfProperties
Modifier and Type | Field and Description |
---|---|
static int |
DF_BOOLEAN
Represents the boolean datatype.
|
static int |
DF_DOUBLE
Represents the double datatype.
|
static int |
DF_ID
Represents the ID datatype.
|
static int |
DF_INTEGER
Represents the integer datatype.
|
static int |
DF_LIST
Represents a DfList object.
|
static int |
DF_OBJECT
Represents any Java object.
|
static int |
DF_STRING
Represents the string datatype.
|
static int |
DF_TIME
Represents the time datatype.
|
static int |
DF_VALUE
Represents a DfValue object.
|
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clears this hashtable so that it contains no property names.
|
boolean |
containsProperty(java.lang.String propertyName)
Determines whether the specified property is stored in the object.
|
boolean |
containsValue(java.lang.Object propertyValue)
Determines whether the value is present in the current list of values.
|
java.lang.Object |
get(java.lang.String propertyName)
Returns the object to which the specified property name is mapped to in the object.
|
boolean |
getBoolean(java.lang.String propertyName)
Returns the boolean value to which the specified property name is mapped to in
the object.
|
int |
getCount()
Get the number of property names and mapped values stored in this object.
|
double |
getDouble(java.lang.String propertyName)
Returns the value to which the specified property name is mapped to in the object.
|
IDfId |
getId(java.lang.String propertyName)
Returns an IDfId interface to which the specified property name is mapped to in
the object.
|
int |
getInt(java.lang.String propertyName)
Returns the value to which the specified property name is mapped to in the object.
|
IDfList |
getList(java.lang.String propertyName)
Returns an IDfList interface to which the specified property name is mapped to in the object.
|
IDfList |
getProperties()
Returns the property names as an IDfList interface.
|
int |
getPropertyType(java.lang.String propertyName)
Return the datatype of the mapped property value.
|
java.lang.String |
getString(java.lang.String propertyName)
Returns the string to which the specified property name is mapped to in the object.
|
IDfTime |
getTime(java.lang.String propertyName)
Returns an IDfTime interface to which the specified property name is mapped to
in the object.
|
IDfValue |
getValue(java.lang.String propertyName)
Returns an IDfValue interface to which the specified property name is mapped to
in the object.
|
boolean |
isEmpty()
Tests if this object maps no property names to values.
|
void |
put(java.lang.String propertyName,
java.lang.Object propertyValue)
Maps the specified property name to the specified Object property value.
|
void |
putBoolean(java.lang.String propertyName,
boolean propertyValue)
Maps the specified property name to the specified boolean property value.
|
void |
putDouble(java.lang.String propertyName,
double propertyValue)
Maps the specified property name to the specified double property value.
|
void |
putId(java.lang.String propertyName,
IDfId propertyValue)
Maps the specified property name to the specified IDfId interface property value.
|
void |
putInt(java.lang.String propertyName,
int propertyValue)
Maps the specified property name to the specified integer property value.
|
void |
putList(java.lang.String propertyName,
IDfList propertyValue)
Maps the specified property name to the specified IDfList interface property value.
|
void |
putString(java.lang.String propertyName,
java.lang.String propertyValue)
Maps the specified property name to the specified string property value.
|
void |
putTime(java.lang.String propertyName,
IDfTime propertyValue)
Maps the specified property name to the specified IDfTime interface property value.
|
void |
putValue(java.lang.String propertyName,
IDfValue propertyValue)
Maps the specified property name to the specified IDfValue interface property value.
|
void |
remove(java.lang.String propertyName)
Removes the specified property name and its associated value from the hashtable.
|
static final int DF_BOOLEAN
static final int DF_INTEGER
static final int DF_STRING
static final int DF_ID
static final int DF_TIME
static final int DF_DOUBLE
static final int DF_OBJECT
static final int DF_VALUE
static final int DF_LIST
boolean containsValue(java.lang.Object propertyValue)
propertyValue
- the Object value to search for.true
if the value is found; otherwise, returns
false
.boolean containsProperty(java.lang.String propertyName)
propertyName
- the property name to search for.true
if the property is found; otherwise, returns
false
.java.lang.Object get(java.lang.String propertyName)
propertyName
- the property name to search for.java.lang.String getString(java.lang.String propertyName) throws DfException
propertyName
- the property name to search for.DfException
- if there is a type mismatch.boolean getBoolean(java.lang.String propertyName) throws DfException
propertyName
- the property name to search for.false
if the property name.
is not mapped.DfException
- if there is a type mismatch.double getDouble(java.lang.String propertyName) throws DfException
propertyName
- the property name to search for.DfException
- if there is a type mismatch.IDfId getId(java.lang.String propertyName) throws DfException
propertyName
- the property name to search for.DfException
- if there is a type mismatch.int getInt(java.lang.String propertyName) throws DfException
propertyName
- the property name to search for.DfException
- if there is a type mismatch.IDfList getList(java.lang.String propertyName) throws DfException
propertyName
- the property name to search for.DfException
- if there is a type mismatch.IDfTime getTime(java.lang.String propertyName) throws DfException
propertyName
- the property name to search for.DfException
- if there is a type mismatch.IDfValue getValue(java.lang.String propertyName) throws DfException
propertyName
- the property name to search for.DfException
- if there is a type mismatch.void put(java.lang.String propertyName, java.lang.Object propertyValue)
propertyName
- the property name that will serve as the key.propertyValue
- the value that will be mapped to the property name.void putString(java.lang.String propertyName, java.lang.String propertyValue)
propertyName
- the property name that will serve as the key.propertyValue
- the value that will be mapped to the property name.void putBoolean(java.lang.String propertyName, boolean propertyValue)
propertyName
- the property name that will serve as the key.propertyValue
- the value that will be mapped to the property name.void putDouble(java.lang.String propertyName, double propertyValue)
propertyName
- the property name that will serve as the key.propertyValue
- the value that will be mapped to the property name.void putId(java.lang.String propertyName, IDfId propertyValue)
propertyName
- the property name that will serve as the key.propertyValue
- the value that will be mapped to the property name.void putInt(java.lang.String propertyName, int propertyValue)
propertyName
- the property name that will serve as the key.propertyValue
- the value that will be mapped to the property name.void putList(java.lang.String propertyName, IDfList propertyValue)
propertyName
- the property name that will serve as the key.propertyValue
- the value that will be mapped to the property name.void putTime(java.lang.String propertyName, IDfTime propertyValue)
propertyName
- the property name that will serve as the key.propertyValue
- the value that will be mapped to the property name.void putValue(java.lang.String propertyName, IDfValue propertyValue)
propertyName
- the property name that will serve as the key.propertyValue
- the value that will be mapped to the property name.void remove(java.lang.String propertyName)
propertyName
- the property name that needs to be removed.boolean isEmpty()
true
if this hashtable maps no property names to values;
false
otherwise.IDfList getProperties() throws DfException
DfException
- if the list cannot be instantiated.int getCount()
void clear()
int getPropertyType(java.lang.String propertyName) throws DfException
propertyName
- the property name that will serve as the key.DfException
- a DM_DFC_E_CLASS_NOT_FOUND exception.Copyright 1994-2023 OpenText Corporation. All rights reserved.