|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.metamatrix.admin.objects.MMAdminObject
public abstract class MMAdminObject
Simple objects for the Admin API
Field Summary | |
---|---|
protected boolean |
deployed
indicates if component is in operational configuration |
protected boolean |
enabled
indicated if component is enabled |
protected java.lang.String |
identifier
The fully-qualified name of the Admin Object. |
protected java.lang.String[] |
identifierParts
The parts of the fully-qualified name of the Admin Object. |
protected java.lang.String |
name
The base name of this Admin Object |
static int |
OBJECT_TYPE_CACHE
Object type code for Cache |
static int |
OBJECT_TYPE_CONNECTOR_BINDING
Object type code for ConnectorBinding |
static int |
OBJECT_TYPE_CONNECTOR_TYPE
Object type code for ConnectorType |
static int |
OBJECT_TYPE_DQP
Object type code for DQP |
static int |
OBJECT_TYPE_ENTITLEMENT
Object type code for Entitlement |
static int |
OBJECT_TYPE_EXTENSION_MODULE
Object type code for ExtensionModule |
static int |
OBJECT_TYPE_GROUP
Object type code for Group |
static int |
OBJECT_TYPE_HOST
Object type code for Host |
static int |
OBJECT_TYPE_LOG_CONFIGURATION
Object type code for LogConfiguration |
static int |
OBJECT_TYPE_MODEL
Object type code for Model |
static int |
OBJECT_TYPE_PROCESS_OBJECT
Object type code for ProcessObject |
static int |
OBJECT_TYPE_PROPERTY_DEFINITION
Object type code for PropertyDefinition |
static int |
OBJECT_TYPE_QUEUE_WORKER_POOL
Object type code for QueueWorkerPool |
static int |
OBJECT_TYPE_REQUEST
Object type code for Request |
static int |
OBJECT_TYPE_RESOURCE
Object type code for Resource |
static int |
OBJECT_TYPE_ROLE
Object type code for Role |
static int |
OBJECT_TYPE_SERVICE
Object Type code for Service |
static int |
OBJECT_TYPE_SESSION
Object type code for Session |
static int |
OBJECT_TYPE_SYSTEM_OBJECT
Object type code for SystemObject |
static int |
OBJECT_TYPE_TRANSACTION
Object type code for TRANSACTION |
static int |
OBJECT_TYPE_USER
Object type code for User |
static int |
OBJECT_TYPE_VDB
Object type code for VDB |
static java.lang.String |
OBJECTS_PACKAGE
Package containing the sub-interfaces of AdminObjects |
protected boolean |
registered
indicated if component exists in registry |
static long |
serialVersionUID
SerialVersion used in serialization |
Fields inherited from interface com.metamatrix.admin.api.objects.AdminObject |
---|
DELIMITER, DELIMITER_CHAR, ESCAPED_DELIMITER, ESCAPED_WILDCARD, WILDCARD |
Constructor Summary | |
---|---|
MMAdminObject(java.lang.String... identifierParts)
Constructor. |
Method Summary | |
---|---|
static java.lang.String |
buildIdentifier(java.lang.String[] identifierParts)
Create a fully-qualified identifier from an array of identifier parts. |
static java.lang.String[] |
buildIdentifierArray(java.lang.String identifier)
Build the Identifer, as an array of its parts |
protected static java.util.List |
buildIdentifierList(java.lang.String identifier)
Build the Identifer, as a list of its parts |
java.util.Date |
getCreated()
|
java.lang.String |
getCreatedBy()
Name of user that created the object |
java.util.Date |
getCreatedDate()
Get the Creation Date |
java.lang.String |
getIdentifier()
Get the fully-qualified identifier |
java.lang.String[] |
getIdentifierArray()
Get the fully-qualified identifier as an array of its parts |
java.lang.String |
getLastChangedBy()
Get the name of the Revisor |
java.util.Date |
getLastChangedDate()
Get the Last Revision Date |
java.util.Date |
getLastUpdated()
|
java.lang.String |
getLastUpdatedBy()
|
java.lang.String |
getName()
Get the Name for this Admin Object |
static java.lang.String |
getNameFromIdentifier(java.lang.String identifier)
Get the Name from a fully qualified Identifier string |
static int |
getObjectType(java.lang.String className)
Get the object type code for the specified classname. |
static java.lang.String |
getParentName(java.lang.String identifier)
Get the Parent Name |
java.util.Properties |
getProperties()
Get all the properties for this Object. |
java.lang.String |
getPropertiesAsString()
Get Properties as a String |
java.lang.String |
getPropertyValue(java.lang.String name)
Returns a property value for the given property name |
java.util.Properties |
getProps()
|
boolean |
isDeployed()
|
boolean |
isEnabled()
|
boolean |
isRegistered()
|
void |
setCreated(java.util.Date created)
|
void |
setCreatedBy(java.lang.String createdBy)
|
void |
setDeployed(boolean deployed)
|
void |
setEnabled(boolean enabled)
|
void |
setIdentifier(java.lang.String[] identifierParts)
Set the fully-qualified identifier |
void |
setLastUpdated(java.util.Date lastUpdated)
|
void |
setLastUpdatedBy(java.lang.String lastUpdatedBy)
|
void |
setProperties(java.util.Properties props)
|
void |
setRegistered(boolean registered)
|
abstract java.lang.String |
toString()
Get MetaMatrix Object as a String |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final long serialVersionUID
public static final java.lang.String OBJECTS_PACKAGE
public static final int OBJECT_TYPE_CACHE
public static final int OBJECT_TYPE_SERVICE
public static final int OBJECT_TYPE_CONNECTOR_BINDING
public static final int OBJECT_TYPE_CONNECTOR_TYPE
public static final int OBJECT_TYPE_DQP
public static final int OBJECT_TYPE_ENTITLEMENT
public static final int OBJECT_TYPE_EXTENSION_MODULE
public static final int OBJECT_TYPE_GROUP
public static final int OBJECT_TYPE_HOST
public static final int OBJECT_TYPE_LOG_CONFIGURATION
public static final int OBJECT_TYPE_MODEL
public static final int OBJECT_TYPE_PROCESS_OBJECT
public static final int OBJECT_TYPE_PROPERTY_DEFINITION
public static final int OBJECT_TYPE_QUEUE_WORKER_POOL
public static final int OBJECT_TYPE_REQUEST
public static final int OBJECT_TYPE_RESOURCE
public static final int OBJECT_TYPE_ROLE
public static final int OBJECT_TYPE_SESSION
public static final int OBJECT_TYPE_SYSTEM_OBJECT
public static final int OBJECT_TYPE_USER
public static final int OBJECT_TYPE_VDB
public static final int OBJECT_TYPE_TRANSACTION
protected java.lang.String identifier
protected java.lang.String[] identifierParts
protected java.lang.String name
protected boolean deployed
protected boolean registered
protected boolean enabled
Constructor Detail |
---|
public MMAdminObject(java.lang.String... identifierParts)
identifierParts
- Parts of the fully-qualified identifier of the MetaMatrix ObjectMethod Detail |
---|
public java.lang.String getName()
getName
in interface AdminObject
protected static java.util.List buildIdentifierList(java.lang.String identifier)
identifier
-
public static java.lang.String[] buildIdentifierArray(java.lang.String identifier)
identifier
-
public static java.lang.String getNameFromIdentifier(java.lang.String identifier)
identifier
-
public static java.lang.String getParentName(java.lang.String identifier)
identifier
-
public static java.lang.String buildIdentifier(java.lang.String[] identifierParts)
identifierParts
-
public java.util.Properties getProperties()
getProperties
in interface AdminObject
Properties
object.public java.lang.String getPropertiesAsString()
public void setIdentifier(java.lang.String[] identifierParts)
identifierParts
- public java.lang.String getIdentifier()
getIdentifier
in interface AdminObject
public java.lang.String[] getIdentifierArray()
public abstract java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public java.util.Date getCreatedDate()
java.util.Date
object was createdpublic java.lang.String getCreatedBy()
String
name of userpublic java.util.Date getLastChangedDate()
java.util.Date
object was modifiedpublic java.lang.String getLastChangedBy()
String name of the Revisor
public java.lang.String getPropertyValue(java.lang.String name)
getPropertyValue
in interface AdminObject
name
- of the property value to obtain
String property value
public java.util.Date getCreated()
public boolean isDeployed()
public java.util.Date getLastUpdated()
public java.lang.String getLastUpdatedBy()
public java.util.Properties getProps()
public boolean isRegistered()
public void setDeployed(boolean deployed)
deployed
- The deployed to set.public void setRegistered(boolean registered)
registered
- The registered to set.public boolean isEnabled()
public void setEnabled(boolean enabled)
enabled
- The enabled to set.public void setCreated(java.util.Date created)
created
- The created to set.public void setCreatedBy(java.lang.String createdBy)
createdBy
- The createdBy to set.public void setLastUpdated(java.util.Date lastUpdated)
lastUpdated
- The lastUpdated to set.public void setLastUpdatedBy(java.lang.String lastUpdatedBy)
lastUpdatedBy
- The lastUpdatedBy to set.public void setProperties(java.util.Properties props)
props
- The props to set.public static int getObjectType(java.lang.String className) throws AdminException
className
- This may be fully qualified or not, e.g.
"com.metamatrix.admin.api.objects.ConnectorBinding" or "ConnectorBinding".
AdminException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |