|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ibm.di.connector.NT4UserMetaDataConnector.InfoUtil
public class InfoUtil
The InfoUtil class capsulates common constants and static methods for processing User/Group data structures.
| Field Summary | |
|---|---|
protected static int |
MAX_SIGNED_DWORD
|
protected static long |
MAX_UNSIGNED_DWORD
|
protected static String |
QSS_BOOLEAN
|
protected static String |
QSS_BYTE_ARRAY
|
protected static String |
QSS_DATE
|
protected static String |
QSS_INTEGER
|
protected static String |
QSS_LONG
|
protected static String |
QSS_STRING
|
protected static String |
QSS_VECTOR
|
| Constructor Summary | |
|---|---|
InfoUtil()
|
|
| Method Summary | |
|---|---|
protected static void |
addSchemaEntry(Vector aSchema,
String aName,
String aSyntax,
Object aSize)
Adds an entry describing an attribute's structure to the given vector. |
protected static void |
createAndAddEntryAttribute(Entry aEntry,
String aAttrName,
Object aAttrValue)
Creates and adds attribute to the given Entry object. |
protected static Boolean |
getBooleanEntryAttributeValue(Entry aEntry,
String aAttrName)
Retrieves the specified Attribute's value as a Boolean object. |
protected static byte[] |
getByteArrayEntryAttributeValue(Entry aEntry,
String aAttrName)
Retrieves the specified Attribute's value as a byte array object. |
protected static Date |
getDateEntryAttributeValue(Entry aEntry,
String aAttrName)
Retrieves the specified Attribute's value as a java.util.Date object. |
protected static Integer |
getIntegerEntryAttributeValue(Entry aEntry,
String aAttrName)
Retrieves the specified Attribute's value as an Integer object. |
protected static Long |
getLongEntryAttributeValue(Entry aEntry,
String aAttrName)
Retrieves the specified Attribute's value as a Long object. |
protected static String |
getStringEntryAttributeValue(Entry aEntry,
String aAttrName)
Retrieves the specified Attribute's value as a String object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final int MAX_SIGNED_DWORD
protected static final long MAX_UNSIGNED_DWORD
protected static final String QSS_BOOLEAN
protected static final String QSS_BYTE_ARRAY
protected static final String QSS_DATE
protected static final String QSS_INTEGER
protected static final String QSS_LONG
protected static final String QSS_STRING
protected static final String QSS_VECTOR
| Constructor Detail |
|---|
public InfoUtil()
| Method Detail |
|---|
protected static void addSchemaEntry(Vector aSchema,
String aName,
String aSyntax,
Object aSize)
aSchema - The vector representing the connector's entry schema.
The new entry will be added to this vector.aName - The name of the attribute.aSyntax - The definition of the attribute.aSize - The size of the atribute. If null it is not included in the schema.
protected static void createAndAddEntryAttribute(Entry aEntry,
String aAttrName,
Object aAttrValue)
aEntry - The entry object to attach the new attribute to.aAttrName - The name of the new attribute.aAttrValue - The value of the new attribute.
protected static String getStringEntryAttributeValue(Entry aEntry,
String aAttrName)
aEntry - The Entry object which Attribute's value will be retrieved.aAttrName - The name of the Entry's Attribute.
protected static Integer getIntegerEntryAttributeValue(Entry aEntry,
String aAttrName)
aEntry - The Entry object which Attribute's value will be retrieved.aAttrName - The name of the Entry's Attribute.
protected static Long getLongEntryAttributeValue(Entry aEntry,
String aAttrName)
aEntry - The Entry object which Attribute's value will be retrieved.aAttrName - The name of the Entry's Attribute.
protected static Boolean getBooleanEntryAttributeValue(Entry aEntry,
String aAttrName)
aEntry - The Entry object which Attribute's value will be retrieved.aAttrName - The name of the Entry's Attribute.
protected static Date getDateEntryAttributeValue(Entry aEntry,
String aAttrName)
aEntry - The Entry object which Attribute's value will be retrieved.aAttrName - The name of the Entry's Attribute.
protected static byte[] getByteArrayEntryAttributeValue(Entry aEntry,
String aAttrName)
aEntry - The Entry object which Attribute's value will be retrieved.aAttrName - The name of the Entry's Attribute.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||