public class ContextImpl extends EntityImpl implements Context
| Modifier and Type | Field and Description |
|---|---|
protected List<IsParentOf<Context,Context>> |
children |
protected String |
name |
protected IsParentOf<Context,Context> |
parent |
CHILDREN_PROPERTY, NAME, NAME_PROPERTY, PARENT_PROPERTYHEADER_PROPERTYCLASS_PROPERTY, SUPERCLASSES_PROPERTY| Modifier | Constructor and Description |
|---|---|
protected |
ContextImpl() |
|
ContextImpl(String name) |
|
ContextImpl(String name,
UUID uuid) |
| Modifier and Type | Method and Description |
|---|---|
void |
addChild(Context child) |
void |
addChild(IsParentOf<Context,Context> isParentOf) |
void |
addChild(UUID uuid) |
protected void |
addChildFromJson(IsParentOf<Context,Context> isParentOf) |
List<IsParentOf<Context,Context>> |
getChildren() |
String |
getName() |
IsParentOf<Context,Context> |
getParent() |
protected void |
setChildrenFromJson(List<IsParentOf<Context,Context>> children) |
void |
setName(String name) |
void |
setParent(Context context) |
void |
setParent(IsParentOf<Context,Context> isParentOf) |
void |
setParent(UUID uuid) |
protected void |
setParentFromJson(IsParentOf<Context,Context> isParentOf) |
toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitprotected String name
protected IsParentOf<Context,Context> parent
protected List<IsParentOf<Context,Context>> children
protected ContextImpl()
public ContextImpl(String name)
public IsParentOf<Context,Context> getParent()
protected void setParentFromJson(IsParentOf<Context,Context> isParentOf) throws com.fasterxml.jackson.core.JsonProcessingException
com.fasterxml.jackson.core.JsonProcessingExceptionpublic void setParent(IsParentOf<Context,Context> isParentOf)
public List<IsParentOf<Context,Context>> getChildren()
getChildren in interface Contextprotected void setChildrenFromJson(List<IsParentOf<Context,Context>> children) throws com.fasterxml.jackson.core.JsonProcessingException
com.fasterxml.jackson.core.JsonProcessingExceptionprotected void addChildFromJson(IsParentOf<Context,Context> isParentOf) throws com.fasterxml.jackson.core.JsonProcessingException
com.fasterxml.jackson.core.JsonProcessingExceptionpublic void addChild(IsParentOf<Context,Context> isParentOf)
Copyright © 2020. All Rights Reserved.