|
Oracle Fusion Middleware Java API Reference for Oracle Enterprise Scheduler 11g Release 1 (11.1.1.9) E57090-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.as.scheduler.BaseMetadata<T>
public abstract class BaseMetadata<T extends BaseMetadata<T>>
Constructor Summary | |
---|---|
protected |
BaseMetadata(java.lang.String name, java.lang.String displayName, java.lang.String description, MetadataObjectId metadataObjectId) |
protected |
BaseMetadata(java.lang.String name, java.lang.String displayNameKey, java.lang.String descriptionKey, MetadataObjectId metadataObjectId, java.lang.String[] resourceBundles) |
Method Summary | ||
---|---|---|
abstract T |
clone(java.lang.String newName) |
|
static
|
from(BaseMetadataType<T> type, javax.management.openmbean.CompositeData cd) Create an instance of the model specific class out of an associated CompositeData instance |
|
abstract BaseMetadataType<T> |
getBaseMetadataType() |
|
java.lang.String |
getDescription() Retrieves the description of this ESS metadata object. |
|
java.lang.String |
getDescriptionKey() Retrieves the key to the entry in the associated resource bundle representing the description. |
|
java.lang.String |
getDisplayName() Retrieves the user friendly name of this ESS metadata object. |
|
java.lang.String |
getDisplayNameKey() Retrieves the key to the entry in the associated resource bundle representing the display name |
|
oracle.as.scheduler.localization.EssMessages |
getMessages() |
|
MetadataObjectId |
getMetadataObjectId() Retrieves the unique identifier of this object within the metadata repository. |
|
java.lang.String |
getName() Retrieves the name of this ESS metadata object. |
|
java.lang.String[] |
getResourceBundles() Retrieves the resource bundles assocaited with the translatable strings for this metadata |
|
protected abstract T |
getSelf() |
|
int |
hashCode() |
|
void |
localize(oracle.as.scheduler.translation.TranslationService service, oracle.as.scheduler.translation.TranslationContext context) This method is used internally by MetadataService to localize the metadata translatable field before returning it to the caller. |
|
void |
setDescription(java.lang.String description) Sets the description associated with this ESS metadata object. |
|
void |
setDescriptionKey(java.lang.String descriptionKey) Sets the key to be used for lookup description in the associated resource bundles. |
|
void |
setDisplayName(java.lang.String displayName) Sets the user friendly name associated with this ESS metadata object. |
|
void |
setDisplayNameKey(java.lang.String displayNameKey) Sets the key to be used for lookup display name in the associated resource bundles. |
|
void |
setResourceBundles(java.lang.String[] resourceBundles) Sets the message bundles to be associated with the translatable strings |
|
abstract javax.management.openmbean.CompositeData |
toCompositeData(javax.management.openmbean.CompositeType ct) |
|
protected javax.management.openmbean.CompositeData |
toCompositeData(javax.management.openmbean.CompositeType compType, java.lang.String[] itemNames) Convert an instance of this model specific type to a CompositeData. |
|
java.lang.String |
toString() |
|
void |
validate() |
|
protected abstract void |
validateCustom() |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected BaseMetadata(java.lang.String name, java.lang.String displayName, java.lang.String description, MetadataObjectId metadataObjectId)
protected BaseMetadata(java.lang.String name, java.lang.String displayNameKey, java.lang.String descriptionKey, MetadataObjectId metadataObjectId, java.lang.String[] resourceBundles)
Method Detail |
---|
public abstract BaseMetadataType<T> getBaseMetadataType()
public abstract T clone(java.lang.String newName) throws ValidationException
ValidationException
public abstract javax.management.openmbean.CompositeData toCompositeData(javax.management.openmbean.CompositeType ct)
protected abstract void validateCustom() throws ValidationException
ValidationException
protected abstract T getSelf()
public final java.lang.String getName()
public final java.lang.String getDisplayName()
public final java.lang.String getDisplayNameKey()
public final java.lang.String getDescription()
public final java.lang.String getDescriptionKey()
public final java.lang.String[] getResourceBundles()
public final MetadataObjectId getMetadataObjectId()
MetadataService
when this object is retrieved from the metadata repository. Therefore if an object is newly created to persist into the repository, it will not have the unique identifier set initially.MetadataService
.public final oracle.as.scheduler.localization.EssMessages getMessages()
public final void validate() throws ValidationException
ValidationException
public final void setDisplayName(java.lang.String displayName)
displayName
- the user friendly name to be associated with this ESS metadata object.public final void setDisplayNameKey(java.lang.String displayNameKey)
displayNameKey
- the key for the resource bundle entry representing the user friendly name to be associated with this ESS metadata object.public final void setDescription(java.lang.String description)
description
- description to be associated with this ESS metadata object.public final void setDescriptionKey(java.lang.String descriptionKey)
descriptionKey
- the entry to the resourcebundle representing the description to be associated with this ESS metadata object.public final void setResourceBundles(java.lang.String[] resourceBundles)
resourceBundles
- an array of resource bundle idspublic void localize(oracle.as.scheduler.translation.TranslationService service, oracle.as.scheduler.translation.TranslationContext context)
service
- the TranslationService to use for locating translationspublic java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
protected final javax.management.openmbean.CompositeData toCompositeData(javax.management.openmbean.CompositeType compType, java.lang.String[] itemNames)
public static <T extends BaseMetadata<T>> T from(BaseMetadataType<T> type, javax.management.openmbean.CompositeData cd) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
|
Oracle Fusion Middleware Java API Reference for Oracle Enterprise Scheduler 11g Release 1 (11.1.1.9) E57090-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |