public class MockPluginAttribute extends MockPluginElement<PluginAttribute> implements PluginAttribute
| Constructor and Description |
|---|
MockPluginAttribute()
No-arguments constructor.
|
MockPluginAttribute(java.lang.String id,
java.lang.String aValue) |
| Modifier and Type | Method and Description |
|---|---|
MockPluginAttribute |
addSubAttribute(PluginAttribute attribute) |
PluginAttribute |
getSubAttribute(java.lang.String id) |
java.util.Collection<PluginAttribute> |
getSubAttributes() |
java.util.Collection<PluginAttribute> |
getSubAttributes(java.lang.String id) |
PluginAttribute |
getSuperAttribute() |
java.lang.String |
getValue() |
MockPluginAttribute |
setSuperAttribute(PluginAttribute attribute) |
MockPluginAttribute |
setValue(java.lang.String attributeValue) |
getDeclaringPluginDescriptor, getDeclaringPluginFragment, getDocsPath, getDocumentation, setDeclaringPluginDescriptor, setDeclaringPluginFragment, setDocsPath, setDocumentationgetId, setIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDeclaringPluginDescriptor, getDeclaringPluginFragmentgetDocsPath, getDocumentationpublic MockPluginAttribute()
public MockPluginAttribute(java.lang.String id,
java.lang.String aValue)
id - attribute IDaValue - attribute valuepublic PluginAttribute getSubAttribute(java.lang.String id)
getSubAttribute in interface PluginAttributeid - ID of sub-attribute to look forPluginAttribute.getSubAttribute(
java.lang.String)public java.util.Collection<PluginAttribute> getSubAttributes()
getSubAttributes in interface PluginAttributePluginAttribute.getSubAttributes()public java.util.Collection<PluginAttribute> getSubAttributes(java.lang.String id)
getSubAttributes in interface PluginAttributeid - ID of sub-attribute to look forPluginAttribute.getSubAttributes(
java.lang.String)public MockPluginAttribute addSubAttribute(PluginAttribute attribute)
attribute - sub-attribute to addpublic PluginAttribute getSuperAttribute()
getSuperAttribute in interface PluginAttributenull if
this is top level attributePluginAttribute.getSuperAttribute()public MockPluginAttribute setSuperAttribute(PluginAttribute attribute)
attribute - the super attribute to setpublic java.lang.String getValue()
getValue in interface PluginAttributePluginAttribute.getValue()public MockPluginAttribute setValue(java.lang.String attributeValue)
attributeValue - the attribute value to setCopyright © 2004-2007 Dmitry Olshansky. All Rights Reserved.