|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface EntityType
Gives type information for an Entity. It is an immutable snapshot.
It reflects a given entity at the time the snapshot was created: if sensors
were added or removed on-the-fly then those changes will be included in subsequent
snapshots. Therefore instances of a given class of entity could have different
EntityTypes.
| Method Summary | |
|---|---|
ConfigKey<?> |
getConfigKey(String name)
The ConfigKey with the given name, or null if not found. |
Set<ConfigKey<?>> |
getConfigKeys()
ConfigKeys available on this entity. |
Set<Effector<?>> |
getEffectors()
Effectors available on this entity. |
String |
getName()
The type name of this entity (normally the fully qualified class name). |
Sensor<?> |
getSensor(String name)
The Sensor with the given name, or null if not found. |
Set<Sensor<?>> |
getSensors()
Sensors available on this entity. |
String |
getSimpleName()
The simple type name of this entity (normally the unqualified class name). |
boolean |
hasSensor(String name)
|
| Method Detail |
|---|
String getName()
String getSimpleName()
Set<ConfigKey<?>> getConfigKeys()
Set<Sensor<?>> getSensors()
Set<Effector<?>> getEffectors()
ConfigKey<?> getConfigKey(String name)
Sensor<?> getSensor(String name)
boolean hasSensor(String name)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||