public abstract class DefaultSettingsEntity extends StaticEntity implements Entity
| Constructor and Description |
|---|
DefaultSettingsEntity(String entityId) |
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(SettingsEntityListener settingsEntityListener)
Adds a listener for this settings entity that fires on entity updates
|
boolean |
equals(Object o) |
Object |
get(String attributeName) |
Iterable<String> |
getAttributeNames() |
Boolean |
getBoolean(String attributeName) |
Double |
getDouble(String attributeName) |
Iterable<Entity> |
getEntities(String attributeName) |
<E extends Entity> |
getEntities(String attributeName,
Class<E> clazz) |
Entity |
getEntity(String attributeName) |
<E extends Entity> |
getEntity(String attributeName,
Class<E> clazz) |
EntityType |
getEntityType() |
Object |
getIdValue() |
Instant |
getInstant(String attributeName) |
Integer |
getInt(String attributeName) |
Object |
getLabelValue() |
LocalDate |
getLocalDate(String attributeName) |
Long |
getLong(String attributeName) |
String |
getString(String attributeName) |
int |
hashCode() |
void |
removeListener(SettingsEntityListener settingsEntityListener)
Removes a listener for this settings entity that fires on entity updates
|
void |
set(Entity values) |
void |
set(String attributeName,
Object value) |
void |
setDataService(DataService dataService) |
void |
setEntityListenersService(EntityListenersService entityListenersService) |
void |
setIdValue(Object id) |
String |
toString() |
initpublic DefaultSettingsEntity(String entityId)
@Autowired public void setDataService(DataService dataService)
@Autowired public void setEntityListenersService(EntityListenersService entityListenersService)
public EntityType getEntityType()
getEntityType in interface EntitygetEntityType in class StaticEntitypublic Iterable<String> getAttributeNames()
getAttributeNames in interface EntitygetAttributeNames in class StaticEntitypublic Object getIdValue()
getIdValue in interface EntitygetIdValue in interface org.molgenis.i18n.IdentifiablegetIdValue in class StaticEntitypublic void setIdValue(Object id)
setIdValue in interface EntitysetIdValue in class StaticEntitypublic Object getLabelValue()
getLabelValue in interface EntitygetLabelValue in class StaticEntitypublic Object get(String attributeName)
get in interface Entityget in class StaticEntitypublic String getString(String attributeName)
getString in interface EntitygetString in class StaticEntitypublic Integer getInt(String attributeName)
getInt in interface EntitygetInt in class StaticEntitypublic Long getLong(String attributeName)
getLong in interface EntitygetLong in class StaticEntitypublic Boolean getBoolean(String attributeName)
getBoolean in interface EntitygetBoolean in class StaticEntitypublic Double getDouble(String attributeName)
getDouble in interface EntitygetDouble in class StaticEntitypublic Instant getInstant(String attributeName)
getInstant in interface EntitygetInstant in class StaticEntitypublic LocalDate getLocalDate(String attributeName)
getLocalDate in interface EntitygetLocalDate in class StaticEntitypublic Entity getEntity(String attributeName)
getEntity in interface EntitygetEntity in class StaticEntitypublic <E extends Entity> E getEntity(String attributeName, Class<E> clazz)
getEntity in interface EntitygetEntity in class StaticEntitypublic Iterable<Entity> getEntities(String attributeName)
getEntities in interface EntitygetEntities in class StaticEntitypublic <E extends Entity> Iterable<E> getEntities(String attributeName, Class<E> clazz)
getEntities in interface EntitygetEntities in class StaticEntitypublic void set(String attributeName, Object value)
set in interface Entityset in class StaticEntitypublic void set(Entity values)
set in interface Entityset in class StaticEntitypublic void addListener(SettingsEntityListener settingsEntityListener)
settingsEntityListener - listener for this settings entitypublic void removeListener(SettingsEntityListener settingsEntityListener)
settingsEntityListener - listener for this settings entitypublic String toString()
toString in class StaticEntityCopyright © 2018 Pivotal Software, Inc.. All rights reserved.