public abstract class Entity<B extends Entity.Blueprint,U extends AbstractElement.Update> extends AbstractElement<B,U>
| Modifier and Type | Class and Description |
|---|---|
static class |
Entity.Blueprint |
AbstractElement.Update, AbstractElement.Updater<U extends AbstractElement.Update,E extends AbstractElement<?,U>>id, ID_PROPERTY, properties| Modifier and Type | Method and Description |
|---|---|
abstract <R,P> R |
accept(EntityVisitor<R,P> visitor,
P parameter)
Accepts the provided visitor.
|
protected void |
appendToString(StringBuilder toStringBuilder)
Use this to append additional information to the string representation of this instance
returned from the (final)
toString(). |
String |
toString() |
equals, getId, getProperties, hashCode, update, valueOrDefaultpublic abstract <R,P> R accept(EntityVisitor<R,P> visitor, P parameter)
R - the return typeP - the type of the parametervisitor - the visitor to visit this entityparameter - the parameter to pass on to the visitorprotected void appendToString(StringBuilder toStringBuilder)
toString().
Generally, one should call the super method first and then only add additional information to the builder.
toStringBuilder - the builder to append stuff to.Copyright © 2015 Red Hat, Inc.. All rights reserved.