public interface IDfAttr
Modifier and Type | Field and Description |
---|---|
static int |
DM_BOOLEAN
The boolean datatype.
|
static int |
DM_DOUBLE
The double datatype.
|
static int |
DM_ID
The object ID datatype.
|
static int |
DM_INTEGER
The integer datatype.
|
static int |
DM_STRING
The string datatype.
|
static int |
DM_TIME
The time, or date, datatype.
|
static int |
DM_UNDEFINED
The undefined datatype.
|
Modifier and Type | Method and Description |
---|---|
int |
getAllowedLength(java.lang.String value)
Retrieves the number of characters that will fit in the attribute for a
given string.
|
int |
getDataType()
Retrieves the datatype of an attribute.
|
java.lang.String |
getId() |
int |
getLength()
Retrieves the maximum number of bytes in a string attribute.
|
java.lang.String |
getName()
Retrieves the name of an attribute.
|
boolean |
isQualifiable() |
boolean |
isRepeating()
Indicates whether an attribute is repeating.
|
static final int DM_BOOLEAN
static final int DM_INTEGER
static final int DM_STRING
static final int DM_ID
static final int DM_TIME
static final int DM_DOUBLE
static final int DM_UNDEFINED
int getLength()
java.lang.String getName()
int getDataType()
The following list specifies the dataype corresponding to all return values.
Value Datatype 0 Boolean 1 Integer 2 String 3 ID 4 Time, or date 5 Double 6 UndefinedNote: This method can return unexpected values. The datatype it returns for an attribute that is part of a query collection is the type that Content Server returns. This may differ from the datatype that the IDfSysObject interface specifies for that attribute. The type returned may vary with the server’s underlying relational database. Workaround: Structure your application in such a way that you do not need to invoke this method.
boolean isRepeating()
int getAllowedLength(java.lang.String value)
value
- specifies the string for evaluation. The value could not
be a null.java.lang.String getId()
boolean isQualifiable()
Copyright 1994-2023 OpenText Corporation. All rights reserved.