|
||||||||||
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 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,
ComponentTypeID typeID)
|
static BasicDeployedComponent |
createDeployedVMComponent(java.lang.String name,
ConfigurationID configID,
HostID hostID,
VMComponentDefnID vmID,
ComponentTypeID vmtypeID)
|
static int |
getComponentDefnType(BaseObject defn)
|
static int |
getComponentType(BaseObject defn)
|
static ConfigurationObjectEditor |
getEditor()
Returns a COnfigurationObjectEditor that does not create actions. |
static boolean |
isValdComponentTypeCode(int code)
|
static ComponentObject |
setCreationChangedHistory(ComponentObject defn,
java.lang.String createdBy,
java.lang.String creationDate)
|
static ComponentType |
setCreationChangedHistory(ComponentType type,
java.lang.String createdBy,
java.lang.String creationDate)
|
static ComponentObject |
setLastChangedHistory(ComponentObject defn,
java.lang.String lastChangedBy,
java.lang.String lastChangedDate)
|
static ComponentType |
setLastChangedHistory(ComponentType type,
java.lang.String lastChangedBy,
java.lang.String lastChangedDate)
|
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 ConfigurationObjectEditor getEditor()
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 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, 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 boolean isValdComponentTypeCode(int code)
public static ComponentType setLastChangedHistory(ComponentType type, java.lang.String lastChangedBy, java.lang.String lastChangedDate)
public static ComponentType setCreationChangedHistory(ComponentType type, java.lang.String createdBy, java.lang.String creationDate)
public static ComponentObject setLastChangedHistory(ComponentObject defn, java.lang.String lastChangedBy, java.lang.String lastChangedDate)
public static ComponentObject setCreationChangedHistory(ComponentObject defn, java.lang.String createdBy, java.lang.String creationDate)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |