@Immutable public class ChildContext extends Object
Constructor and Description |
---|
ChildContext(ChildDefinition<?> child)
Create a child with the default context
|
ChildContext(Integer contextName,
Integer index,
Condition condition,
ChildDefinition<?> child)
Create a child context.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
ChildDefinition<?> |
getChild() |
Condition |
getCondition() |
Integer |
getContextName() |
Integer |
getIndex() |
int |
hashCode() |
public ChildContext(ChildDefinition<?> child)
child
- the child definitionpublic ChildContext(Integer contextName, Integer index, Condition condition, ChildDefinition<?> child)
contextName
- the instance context name, may be null
index
- the context index, may be null
condition
- the context condition, may be null
child
- the child definitionpublic Integer getContextName()
public ChildDefinition<?> getChild()
public Integer getIndex()
public Condition getCondition()
public int hashCode()
hashCode
in class Object
Object.hashCode()
public boolean equals(Object obj)
equals
in class Object
Object.equals(java.lang.Object)
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a