public abstract class Entity extends AbstractElement
| Modifier and Type | Class and Description |
|---|---|
static class |
Entity.Blueprint
Base class for the blueprint types of concrete subclasses.
|
properties| Constructor and Description |
|---|
Entity(String name,
CanonicalPath path) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
appendToString(StringBuilder toStringBuilder)
Use this to append additional information to the string representation of this instance
returned from the (final)
toString(). |
static Class<? extends Entity> |
entityTypeFromSegmentType(SegmentType segmentType) |
String |
getName() |
String |
toString() |
static Class<?> |
typeFromSegmentType(SegmentType segmentType) |
accept, equals, getId, getPath, getProperties, hashCode, segmentTypeFromType, toElementClasspublic Entity(String name, CanonicalPath path)
public static Class<?> typeFromSegmentType(SegmentType segmentType)
public static Class<? extends Entity> entityTypeFromSegmentType(SegmentType segmentType)
public String getName()
protected 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 © 2014–2017 Red Hat, Inc.. All rights reserved.