|
||||||||||
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(Class<T> type,
T attachment)
Add attachment |
|
Object |
addAttchment(String key,
Object attachment)
|
|
void |
addProperty(String key,
String value)
|
|
|
getAttachment(Class<T> type)
Get attachment |
|
Object |
getAttachment(String key)
|
|
List<PropertyMetadata> |
getJAXBProperties()
|
|
String |
getName()
Get the name for this AdminObject, usually the last component of the identifier. |
|
Properties |
getProperties()
Get the Configuration Properties that defines this process |
|
String |
getPropertyValue(String name)
Searches for the property with the specified key in this Admin Object. |
|
|
removeAttachment(Class<T> type)
Remove attachment |
|
Object |
removeAttachment(String key)
|
|
void |
setJAXBProperties(List<PropertyMetadata> props)
|
|
void |
setName(String name)
|
|
void |
setProperties(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 String getName()
AdminObject
getName
in interface AdminObject
public void setName(String name)
public Properties getProperties()
AdminObject
getProperties
in interface AdminObject
public void setProperties(Properties props)
public List<PropertyMetadata> getJAXBProperties()
public void setJAXBProperties(List<PropertyMetadata> props)
public String getPropertyValue(String name)
AdminObject
null
.
getPropertyValue
in interface AdminObject
name
- the property key.
public void addProperty(String key, String value)
public <T> T addAttchment(Class<T> type, T attachment)
T
- the expected typeattachment
- the attachmenttype
- the type
IllegalArgumentException
- for a null name, attachment or type
UnsupportedOperationException
- when not supported by the implementationpublic Object addAttchment(String key, Object attachment)
public <T> T removeAttachment(Class<T> type)
T
- the expected typetype
- the type
IllegalArgumentException
- for a null name or typepublic Object removeAttachment(String key)
public <T> T getAttachment(Class<T> type)
T
- the expected typetype
- the type
IllegalArgumentException
- for a null name or typepublic Object getAttachment(String key)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |