Class CCMDBSchemaFactory
- java.lang.Object
-
- com.ibm.di.connector.ccmdb.schema.base.CCMDBSchemaFactory
-
public class CCMDBSchemaFactory extends java.lang.Object
This class is responsible for creating of native schema entries from data model definition objects.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ATTR_CLASSIFICATION
static java.lang.String
ATTR_DELETED_CI
static java.lang.String
ATTR_OMP
static java.lang.String
ATTR_OMP_RELATIONSHIP
static java.lang.String
ATTR_REL_INSTANCE
static java.lang.String
ATTR_REL_SOURCE
static java.lang.String
ATTR_REL_TARGET
-
Constructor Summary
Constructors Constructor Description CCMDBSchemaFactory(CCMDBMetaData metaData)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Entry
createSchema(ActualCIDefinition definition)
Creates a DI Entry from a given instance of ActualCIDefinition.Entry
createSchema(CIRelationDefinition definition)
Creates a DI Entry from a given instance of CIRelationDefinition.
-
-
-
Field Detail
-
ATTR_OMP_RELATIONSHIP
public static final java.lang.String ATTR_OMP_RELATIONSHIP
- See Also:
- Constant Field Values
-
ATTR_OMP
public static final java.lang.String ATTR_OMP
- See Also:
- Constant Field Values
-
ATTR_DELETED_CI
public static final java.lang.String ATTR_DELETED_CI
- See Also:
- Constant Field Values
-
ATTR_REL_INSTANCE
public static final java.lang.String ATTR_REL_INSTANCE
- See Also:
- Constant Field Values
-
ATTR_REL_SOURCE
public static final java.lang.String ATTR_REL_SOURCE
- See Also:
- Constant Field Values
-
ATTR_REL_TARGET
public static final java.lang.String ATTR_REL_TARGET
- See Also:
- Constant Field Values
-
ATTR_CLASSIFICATION
public static final java.lang.String ATTR_CLASSIFICATION
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CCMDBSchemaFactory
public CCMDBSchemaFactory(CCMDBMetaData metaData)
- Parameters:
metaData
-
-
-
Method Detail
-
createSchema
public Entry createSchema(ActualCIDefinition definition) throws CCMDBException
Creates a DI Entry from a given instance of ActualCIDefinition.- Parameters:
definition
-- Returns:
- Entry
- Throws:
CCMDBException
-
createSchema
public Entry createSchema(CIRelationDefinition definition) throws CCMDBException
Creates a DI Entry from a given instance of CIRelationDefinition.- Parameters:
definition
-- Returns:
- Entry
- Throws:
CCMDBException
-
-