|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.di.connector.ccmdb.EntryUtilities
public class EntryUtilities
An utilities class that contains several static methods for manipulating Entry objects.
Constructor Summary | |
---|---|
EntryUtilities()
|
Method Summary | |
---|---|
static void |
addAttributesToEntry(ActualCI configItem,
ActualCIDefinition definition,
Entry entry)
Adds object attributes as attributes to a DI Entry. |
static void |
addAttributesToEntryAttribute(Attribute attribute,
ActualCI configItem,
ActualCIDefinition definition,
Entry entry)
Adds object attributes as child attributes to a DI Entry attribute. |
static void |
addAttributesToObject(ActualCI configItem,
ActualCIDefinition definition,
NodeList attrNodeList)
Extract attribute values form a NodeList and add them to a ModelObject. |
static void |
addAttributesToSchema(Collection<AttributeDefinition> attributes,
Entry schema)
Adds class attribute definitions as attributes to a DI Entry. |
static void |
addAttributesToSchemaAttribute(Attribute attribute,
Collection<AttributeDefinition> attributes,
Entry schema)
Adds class attribute definitions as attributes to a DI Entry attribute. |
static void |
addPropertiesToEntry(ModelObject object,
ModelObjectDefinition definition,
Entry entry)
Adds object properties as attributes to a DI Entry. |
static void |
addPropertiesToEntryAttribute(Attribute attribute,
ModelObject object,
ModelObjectDefinition definition,
Entry entry)
Adds object attributes as child attributes to a DI Entry attribute. |
static void |
addPropertiesToObject(ModelObject object,
ModelObjectDefinition definition,
NodeList attrNodeList)
Extract property values form a NodeList and add them to a ModelObject. |
static void |
addPropertiesToSchema(ModelObjectDefinition definition,
Entry schema)
Adds property definitions as attributes to a DI Entry. |
static void |
addPropertiesToSchemaAttribute(Attribute attribute,
ModelObjectDefinition definition,
Entry schema)
Adds property definitions as child attributes to an Attribute. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EntryUtilities()
Method Detail |
---|
public static void addPropertiesToSchema(ModelObjectDefinition definition, Entry schema)
definition
- the ModelObjectDefinition instance whose properties to be added.schema
- the DI Entry to be updatedpublic static void addPropertiesToSchemaAttribute(Attribute attribute, ModelObjectDefinition definition, Entry schema)
attribute
- the attribute to be updateddefinition
- the ModelObjectDefinition instance whose properties to be added.schema
- parent DI Entry objectpublic static void addAttributesToSchema(Collection<AttributeDefinition> attributes, Entry schema)
attributes
- class attribute definitions to be added.schema
- the DI Entry to be updatedpublic static void addAttributesToSchemaAttribute(Attribute attribute, Collection<AttributeDefinition> attributes, Entry schema)
attribute
- the DI Entry attribute to be updatedattributes
- class attribute definitions to be addedschema
- parent DI Entry objectpublic static void addPropertiesToEntry(ModelObject object, ModelObjectDefinition definition, Entry entry)
object
- the model object whose properties to be added.definition
- the object definition.entry
- the DI Entry to be updated.public static void addAttributesToEntry(ActualCI configItem, ActualCIDefinition definition, Entry entry)
configItem
- the configuration item whose properties to be added.definition
- the object definition.entry
- the DI Entry to be updated.public static void addAttributesToEntryAttribute(Attribute attribute, ActualCI configItem, ActualCIDefinition definition, Entry entry)
attribute
- the Entry attribute to be updatedconfigItem
- the object whose attributes to be addeddefinition
- the object definitionentry
- parent DI Entrypublic static void addPropertiesToEntryAttribute(Attribute attribute, ModelObject object, ModelObjectDefinition definition, Entry entry)
attribute
- the Entry attribute to be updatedobject
- the object whose properties to be added.definition
- the object definitionentry
- parent DI Entrypublic static void addPropertiesToObject(ModelObject object, ModelObjectDefinition definition, NodeList attrNodeList)
object
- the ModeObject instance to be updateddefinition
- the object definitionattrNodeList
- a NodeList that contains property valuespublic static void addAttributesToObject(ActualCI configItem, ActualCIDefinition definition, NodeList attrNodeList)
configItem
- the configuration item to be updateddefinition
- the object definitionattrNodeList
- a NodeList that contains property values
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |