public class ContainerHandleVirtual extends java.lang.Object implements IContainerHandle
| Constructor and Description |
|---|
ContainerHandleVirtual(java.lang.String name)
.ctor
|
| Modifier and Type | Method and Description |
|---|---|
ContainerHandleVirtual |
add(IContainerHandle nested)
Add a nested container to this virtual container
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAttribute(java.lang.String name)
Retrieve the value of attribute with the specified name, or null if not
present
|
java.lang.String |
getDescription()
Plain text description of the config source, can be as descriptive as
necessary to help the user identify the source, for example could be the
full path to the source item, or something more descriptive.
|
java.lang.String |
getId()
Get the identifier for this source
|
java.lang.String |
getName()
Get the name of this container
|
java.util.Collection<IContainerHandle> |
getNestedContainers()
Get nested containers from this container, allows a container to detect
and return containers within itself.
|
int |
hashCode() |
ContainerHandleVirtual |
setAttribute(java.lang.String key,
java.lang.String value)
Set a virtual attribute on this virtual container
|
java.lang.String |
toString() |
public ContainerHandleVirtual(java.lang.String name)
name - Unique container namepublic java.lang.String getId()
IMixinConfigSourcegetId in interface IMixinConfigSourcepublic java.lang.String getDescription()
IMixinConfigSourcegetDescription in interface IMixinConfigSourcepublic java.lang.String getName()
public ContainerHandleVirtual setAttribute(java.lang.String key, java.lang.String value)
key - attribute keyvalue - attribute valuepublic ContainerHandleVirtual add(IContainerHandle nested)
nested - Nested container to addpublic java.lang.String getAttribute(java.lang.String name)
IContainerHandlegetAttribute in interface IContainerHandlename - attribute namepublic java.util.Collection<IContainerHandle> getNestedContainers()
IContainerHandlegetNestedContainers in interface IContainerHandlepublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object