|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.metamatrix.common.config.model.BasicUtil
public class BasicUtil
Constructor Summary | |
---|---|
BasicUtil()
|
Method Summary | |
---|---|
static BasicComponentDefn |
createComponentDefn(int defnTypeCode,
ConfigurationID configID,
ComponentTypeID typeID,
java.lang.String defnName)
static method that is used to create the specified instance type of BasicComponentDefn. |
static BasicComponentDefn |
createComponentDefn(int defnTypeCode,
ConfigurationID configID,
HostID hostID,
ComponentTypeID typeID,
java.lang.String defnName)
|
static BasicComponentDefn |
createComponentDefn(int defnTypeCode,
ConfigurationID configID,
ProductTypeID typeID,
java.lang.String defnName)
static method that is used to create the specified instance type of BasicComponentDefn. |
static BasicComponentObject |
createComponentObject(int defnTypeCode,
ComponentTypeID typeID,
java.lang.String objName)
static method that is used to create the specified instance type of BasicComponentObject for a PSC. |
static BasicComponentType |
createComponentType(int classTypeCode,
java.lang.String name,
ComponentTypeID parentID,
ComponentTypeID superID,
boolean deployable,
boolean monitored)
static method that is used to create the specified instance type of BasicComponentType. |
static BasicDeployedComponent |
createDeployedComponent(java.lang.String name,
ConfigurationID configID,
HostID hostID,
VMComponentDefnID vmID,
ServiceComponentDefnID svcID,
ProductServiceConfigID pscID,
ComponentTypeID typeID)
|
static BasicDeployedComponent |
createDeployedVMComponent(java.lang.String name,
ConfigurationID configID,
HostID hostID,
VMComponentDefnID vmID,
ComponentTypeID vmtypeID)
|
static int |
getComponentDefnType(BaseID id)
|
static int |
getComponentDefnType(BaseObject defn)
|
static int |
getComponentType(BaseObject defn)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BasicUtil()
Method Detail |
---|
public static final BasicComponentDefn createComponentDefn(int defnTypeCode, ConfigurationID configID, ComponentTypeID typeID, java.lang.String defnName)
defnTypeCode
- identifies the type of class this component defn should representconfigID
- is the ConfigurationID identifying what configuration this defn belongstypeID
- is the ComponentTypeID identifying this new created BasicComponentTypedefnName
- is the name of the component defn
for type codes
public static final BasicComponentDefn createComponentDefn(int defnTypeCode, ConfigurationID configID, HostID hostID, ComponentTypeID typeID, java.lang.String defnName)
public static final BasicComponentDefn createComponentDefn(int defnTypeCode, ConfigurationID configID, ProductTypeID typeID, java.lang.String defnName)
defnTypeCode
- identifies the type of class this component defn should representconfigID
- is the ConfigurationID identifying what configuration this defn belongstypeID
- is the ComponentTypeID identifying this new created BasicComponentTypedefnName
- is the name of the component defn
for type codes
public static final BasicComponentObject createComponentObject(int defnTypeCode, ComponentTypeID typeID, java.lang.String objName)
defnTypeCode
- identifies the type of class this component defn should representconfigID
- is the ConfigurationID identifying what configuration this defn belongstypeID
- is the ComponentTypeID identifying this new created BasicComponentTypedefnName
- is the name of the component defn
for type codes
public static BasicComponentType createComponentType(int classTypeCode, java.lang.String name, ComponentTypeID parentID, ComponentTypeID superID, boolean deployable, boolean monitored)
classTypeCode
- identifies the type of class this component type should representtypeID
- is the ComponentTypeID identifying this new created BasicComponentTypeparentID
- is the component type that is the parentsuperID
- is the component type that is a super class of this component typedeployable
- is a boolean indicating if the type can be deployed in a configurationmonitored
- is a boolean insdicating if the type is to be monitored
or @see ComponentObject for type codes
public static BasicDeployedComponent createDeployedComponent(java.lang.String name, ConfigurationID configID, HostID hostID, VMComponentDefnID vmID, ServiceComponentDefnID svcID, ProductServiceConfigID pscID, ComponentTypeID typeID)
public static BasicDeployedComponent createDeployedVMComponent(java.lang.String name, ConfigurationID configID, HostID hostID, VMComponentDefnID vmID, ComponentTypeID vmtypeID)
public static int getComponentType(BaseObject defn)
public static int getComponentDefnType(BaseObject defn)
public static int getComponentDefnType(BaseID id)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |