public abstract class FeedBasedEntity<B extends Entity.Blueprint,U extends AbstractElement.Update> extends EnvironmentBasedEntity<B,U>
Entity.BlueprintAbstractElement.Update, AbstractElement.Updater<U extends AbstractElement.Update,E extends AbstractElement<?,U>>id, ID_PROPERTY, properties| Modifier | Constructor and Description |
|---|---|
protected |
FeedBasedEntity(String tenantId,
String environmentId,
String feedId,
String id) |
|
FeedBasedEntity(String tenantId,
String environmentId,
String feedId,
String id,
Map<String,Object> properties) |
| 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)
Entity.toString(). |
boolean |
equals(Object o) |
String |
getFeedId()
The id of the feed that this entity belongs to or null, if this entity does not belong to any particular feed.
|
int |
hashCode() |
getEnvironmentIdgetTenantIdgetId, getProperties, update, valueOrDefaultprotected FeedBasedEntity(String tenantId, String environmentId, String feedId, String id)
public String getFeedId()
public boolean equals(Object o)
equals in class EnvironmentBasedEntity<B extends Entity.Blueprint,U extends AbstractElement.Update>public int hashCode()
hashCode in class EnvironmentBasedEntity<B extends Entity.Blueprint,U extends AbstractElement.Update>protected void appendToString(StringBuilder toStringBuilder)
EntityEntity.toString().
Generally, one should call the super method first and then only add additional information to the builder.
appendToString in class EnvironmentBasedEntity<B extends Entity.Blueprint,U extends AbstractElement.Update>toStringBuilder - the builder to append stuff to.Copyright © 2015 Red Hat, Inc.. All rights reserved.