|
Oracle Fusion Applications Java API Reference for Oracle Enterprise Scheduler Service 11g Release 1 (11.1.1.6) E20742-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.as.scheduler.MetadataObjectId
public abstract class MetadataObjectId
Identifier for metadata objects. Instances of the class uniquely identify metadata objects in the metadata repository.
This unique identifier contains the fully qualified name for the a given metadata object. Methods declared in this class allow access to individual parts within the fully qualified name.
Nested Class Summary | |
---|---|
static class |
MetadataObjectId.MetadataObjectType
Enumeration for all the supported metadata object types. |
Field Summary | |
---|---|
protected static java.lang.String[] |
s_itemNames
|
Constructor Summary | |
---|---|
MetadataObjectId()
|
Method Summary | |
---|---|
static MetadataObjectId |
createMetadataObjectId(MetadataObjectId.MetadataObjectType type,
java.lang.String packageName,
java.lang.String name)
Creates an instance of a MetadataObjectId from the given
individual parts. |
static MetadataObjectId |
from(javax.management.openmbean.CompositeData cd)
Create an instance of the model specific class out of an associated CompositeData instance |
protected javax.management.openmbean.CompositeType |
getCompositeType()
|
abstract java.lang.String |
getNamePart()
Returns the name of this metadata object identifier. |
abstract java.lang.String |
getPackagePart()
Returns the package (namespace) for this metadata object identifier. |
abstract MetadataObjectId.MetadataObjectType |
getType()
Returns the type of this metadata object identifier. |
abstract javax.management.openmbean.CompositeData |
toCompositeData(javax.management.openmbean.CompositeType ct)
Convert an instance of this model specific type to a CompositeData. |
static javax.management.openmbean.CompositeType |
toCompositeType()
Returns the CompositeType that describes this model specific class |
abstract java.lang.String |
toPermissionString()
Returns a string representation of this suitable for use in permission grants. |
abstract java.lang.String |
toString()
Returns a string representation of this instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected static final java.lang.String[] s_itemNames
Constructor Detail |
---|
public MetadataObjectId()
Method Detail |
---|
protected javax.management.openmbean.CompositeType getCompositeType()
public abstract java.lang.String getPackagePart()
A metadata object is created and resides in the given package or namespace within the metadata repository.
null
is a package was not specified.public abstract java.lang.String getNamePart()
This is the name with which the metadata object was created and persisted in the repository using the metadata service.
null
.public abstract MetadataObjectId.MetadataObjectType getType()
public abstract java.lang.String toString()
toString
in class java.lang.Object
public abstract java.lang.String toPermissionString()
toPermissionString
in interface oracle.as.scheduler.security.MetadataPermissionId
public static MetadataObjectId createMetadataObjectId(MetadataObjectId.MetadataObjectType type, java.lang.String packageName, java.lang.String name)
MetadataObjectId
from the given
individual parts. This method can be useful in submitting a
request for specific known metadata objects, where querying
such objects via MetadataService
is not required.
This method simply assembles an identifier from individual parts.
It does not guarantee that the MetadataObjectId
created
represents a real metadata object in the repository.
type
- the type of MetadataObjectId to be created.packageName
- the package of the metadata object for which
the id is being created. The package should follow the
"/pkg1/pkg2/..." format.name
- the name of metadata object for this id is being created.
MetadataObjectId
created from given individual parts.public abstract javax.management.openmbean.CompositeData toCompositeData(javax.management.openmbean.CompositeType ct)
ct
- This parameter is there only for future compatibility reasons
with JDK 6.0. It can be ignored at this point.public static javax.management.openmbean.CompositeType toCompositeType()
public static MetadataObjectId from(javax.management.openmbean.CompositeData cd) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
|
Oracle Fusion Applications Java API Reference for Oracle Enterprise Scheduler Service 11g Release 1 (11.1.1.6) E20742-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |