|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.teiid.adminapi.impl.AdminObjectImpl
public abstract class AdminObjectImpl
| Field Summary |
|---|
| Fields inherited from interface org.teiid.adminapi.AdminObject |
|---|
DELIMITER, DELIMITER_CHAR, ESCAPED_DELIMITER, ESCAPED_WILDCARD, WILDCARD |
| Constructor Summary | |
|---|---|
AdminObjectImpl()
|
|
| Method Summary | ||
|---|---|---|
|
addAttchment(java.lang.Class<T> type,
T attachment)
Add attachment |
|
java.lang.Object |
addAttchment(java.lang.String key,
java.lang.Object attachment)
|
|
void |
addProperty(java.lang.String key,
java.lang.String value)
|
|
|
getAttachment(java.lang.Class<T> type)
Get attachment |
|
java.lang.Object |
getAttachment(java.lang.String key)
|
|
java.util.List<PropertyMetadata> |
getJAXBProperties()
|
|
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. |
|
|
removeAttachment(java.lang.Class<T> type)
Remove attachment |
|
java.lang.Object |
removeAttachment(java.lang.String key)
|
|
void |
setJAXBProperties(java.util.List<PropertyMetadata> props)
|
|
void |
setName(java.lang.String name)
|
|
void |
setProperties(java.util.Properties props)
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AdminObjectImpl()
| Method Detail |
|---|
public java.lang.String getName()
AdminObject
getName in interface AdminObjectpublic void setName(java.lang.String name)
public java.util.Properties getProperties()
AdminObject
getProperties in interface AdminObjectpublic void setProperties(java.util.Properties props)
public java.util.List<PropertyMetadata> getJAXBProperties()
public void setJAXBProperties(java.util.List<PropertyMetadata> props)
public java.lang.String getPropertyValue(java.lang.String name)
AdminObjectnull.
getPropertyValue in interface AdminObjectname - the property key.
public void addProperty(java.lang.String key,
java.lang.String value)
public <T> T addAttchment(java.lang.Class<T> type,
T attachment)
T - the expected typeattachment - the attachmenttype - the type
java.lang.IllegalArgumentException - for a null name, attachment or type
java.lang.UnsupportedOperationException - when not supported by the implementation
public java.lang.Object addAttchment(java.lang.String key,
java.lang.Object attachment)
public <T> T removeAttachment(java.lang.Class<T> type)
T - the expected typetype - the type
java.lang.IllegalArgumentException - for a null name or typepublic java.lang.Object removeAttachment(java.lang.String key)
public <T> T getAttachment(java.lang.Class<T> type)
T - the expected typetype - the type
java.lang.IllegalArgumentException - for a null name or typepublic java.lang.Object getAttachment(java.lang.String key)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||