public class ContainerInstance extends Object implements InstanceInterface
| Modifier | Constructor and Description |
|---|---|
protected |
ContainerInstance(ArgumentContainer parentArgument,
ContainerInstance parentInstance) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canCopy() |
boolean |
canRemove() |
ContainerInstance |
createCopy() |
static ContainerInstance |
createFirstInstance(ArgumentContainer argCont) |
protected ContainerInstance |
createInstanceOf(ArgumentContainer argumentContainer) |
protected <T extends Representable> |
createInstanceOf(ArgumentDescriptor<T> argumentDescriptor) |
Collection<ArgumentInstance<?>> |
getAllArgumentInstances() |
Collection<ContainerInstance> |
getAllContainerInstances() |
static InstanceInterface |
getChildInstanceById(ContainerInstance instance,
String instanceToFindId) |
String |
getDescription() |
String |
getIdentifier() |
static List<ArgumentInstance<?>> |
getInstancesBydescriptorId(ContainerInstance instance,
String descriptorId) |
String |
getName() |
boolean |
isLeaf() |
boolean |
isValid() |
void |
remove() |
protected ContainerInstance(@NonNull
ArgumentContainer parentArgument,
ContainerInstance parentInstance)
public static InstanceInterface getChildInstanceById(ContainerInstance instance, String instanceToFindId)
public static List<ArgumentInstance<?>> getInstancesBydescriptorId(ContainerInstance instance, String descriptorId)
public static ContainerInstance createFirstInstance(ArgumentContainer argCont)
public boolean canCopy()
public boolean canRemove()
public void remove()
public ContainerInstance createCopy()
public Collection<ArgumentInstance<?>> getAllArgumentInstances()
public Collection<ContainerInstance> getAllContainerInstances()
protected <T extends Representable> ArgumentInstance<T> createInstanceOf(ArgumentDescriptor<T> argumentDescriptor)
protected ContainerInstance createInstanceOf(ArgumentContainer argumentContainer)
public String getIdentifier()
public boolean isValid()
isValid in interface InstanceInterfacepublic String getDescription()
getDescription in interface InstanceInterfacepublic String getName()
getName in interface InstanceInterfacepublic boolean isLeaf()
isLeaf in interface InstanceInterfaceCopyright © 2019. All Rights Reserved.