org.teiid.adminapi
Interface AdminObject

All Known Subinterfaces:
Cache, ConnectorBinding, ConnectorType, DQP, ExtensionModule, Group, Host, Model, Principal, ProcessObject, PropertyDefinition, QueueWorkerPool, Request, Resource, Role, Service, Session, SystemObject, Transaction, VDB
All Known Implementing Classes:
MMAdminObject, MMConnectorBinding, MMConnectorType, MMDQP, MMExtensionModule, MMGroup, MMHost, MMModel, MMPrincipal, MMProcess, MMPropertyDefinition, MMQueueWorkerPool, MMRequest, MMResource, MMRole, MMService, MMSession, MMSystem, MMVDB, TransactionImpl

public interface AdminObject

Base interface of client side admin objects. Specifies behaviors and properties common to all administrative objects.

Unique identifiers are available for all AdminObjects and their forms are specific to each object. See the javadoc on the individual object for its particular identifier pattern required.

This interface need not be used directly by clients except when coding to constants.

Since:
4.3

Field Summary
static java.lang.String DELIMITER
          The character (as a String) that delimits the atomic components of the identifier.
static char DELIMITER_CHAR
          The character that delimits the atomic components of the identifier.
static java.lang.String ESCAPED_DELIMITER
          The delimiter character as a String escaped.
static java.lang.String ESCAPED_WILDCARD
          The wildcard character as a String escaped.
static java.lang.String WILDCARD
          The wildcard character (as a String) that can be used in may identifier patterns to indicate "anything" or, more specifically, replace "zero or more" identifier components.
 
Method Summary
 java.lang.String getIdentifier()
          Get the Full Name for this AdminObject.
 java.lang.String getName()
          Get the name for this AdminObject, usually the last component of the identifier.
 java.util.Properties getProperties()
          Get the Configuration Properties that defines this process
 java.lang.String getPropertyValue(java.lang.String name)
          Searches for the property with the specified key in this Admin Object.
 

Field Detail

DELIMITER_CHAR

static final char DELIMITER_CHAR
The character that delimits the atomic components of the identifier.

See Also:
DELIMITER, Constant Field Values

DELIMITER

static final java.lang.String DELIMITER
The character (as a String) that delimits the atomic components of the identifier.

It is strongly advisable to write admin client code using this DELIMITER rather than hard-coding a delimiter character in admin code. Doing this eliminates the possibility of admin client code breaking if/when the delimiter character must be changed.


ESCAPED_DELIMITER

static final java.lang.String ESCAPED_DELIMITER
The delimiter character as a String escaped.

See Also:
DELIMITER

WILDCARD

static final java.lang.String WILDCARD
The wildcard character (as a String) that can be used in may identifier patterns to indicate "anything" or, more specifically, replace "zero or more" identifier components.

It is strongly advisable to write admin client code using this WILDCARD rather than hard-coding a wildcard character in admin code. Doing this eliminates the possibility of admin client code breaking if/when the wildcard character must be changed.

See Also:
Constant Field Values

ESCAPED_WILDCARD

static final java.lang.String ESCAPED_WILDCARD
The wildcard character as a String escaped.

See Also:
WILDCARD, Constant Field Values
Method Detail

getIdentifier

java.lang.String getIdentifier()
Get the Full Name for this AdminObject. This identifier will uniquely identify this object in the Teiid system.

Returns:
String the unique Identifier
Since:
4.3

getName

java.lang.String getName()
Get the name for this AdminObject, usually the last component of the identifier.

Returns:
String Name
Since:
4.3

getProperties

java.util.Properties getProperties()
Get the Configuration Properties that defines this process

Returns:
Properties
Since:
4.3

getPropertyValue

java.lang.String getPropertyValue(java.lang.String name)
Searches for the property with the specified key in this Admin Object. If the key is not found the method returns null.

Parameters:
name - the property key.
Returns:
the value in this Admin Object with the specified key value.
Since:
4.3


Copyright © 2009. All Rights Reserved.