public abstract class NodeImpl extends Object implements Node
Modifier and Type | Field and Description |
---|---|
protected String |
access |
static boolean |
debug |
protected Documented |
documentedObject |
protected static Logger |
LOGGER |
protected String |
name |
Constructor and Description |
---|
NodeImpl(QuidObject quidObject)
construct me from the given QuidObject
|
Modifier and Type | Method and Description |
---|---|
void |
addTaggedValues(List<Attribute> attributes)
add the given list of Attributes as taggedValues to this node
|
String |
getAccess() |
List<String> |
getDocumentation()
get the documentation
|
Documented |
getDocumentedObject() |
String |
getId()
get my unique id
|
String |
getName() |
String |
getPropertyValue(PetalNode property)
get the PropertyValue of the given property
|
Map<String,String> |
getTaggedValues() |
boolean |
is(String s)
E.g., if(is("public")) ...
|
protected static void |
print(PrintWriter stream,
String pre,
String o,
String post) |
protected void |
printDocumentation(PrintWriter stream)
print the documentation to the given stream
|
void |
setAccess(String a) |
void |
setDocumentedObject(Documented documentedObject) |
void |
setName(String n) |
protected static Logger LOGGER
public static final boolean debug
protected String name
protected String access
protected Documented documentedObject
public NodeImpl(QuidObject quidObject)
quidObject
- public String getId()
public Documented getDocumentedObject()
getDocumentedObject
in interface Node
public void setDocumentedObject(Documented documentedObject)
setDocumentedObject
in interface Node
documentedObject
- the documentedObject to setpublic Map<String,String> getTaggedValues()
getTaggedValues
in interface Node
public String getPropertyValue(PetalNode property)
property
- public void addTaggedValues(List<Attribute> attributes)
attributes
- protected static void print(PrintWriter stream, String pre, String o, String post)
public List<String> getDocumentation()
getDocumentation
in interface Node
protected void printDocumentation(PrintWriter stream)
stream
- Copyright © 2018 BITPlan GmbH. All rights reserved.