public interface IEntityClass
Device
objects
based on the IEntityClass
, and the key fields specified by the entity
class. A set of entities are considered to be the same device if and only
if they belong to the same entity class and they match on all key fields
for that entity class. A field is effectively wildcarded by not including
it in the list of key fields returned by IEntityClassifierService
and/or
IEntityClass
.
Note that if you're not using static objects, you'll need to override
Object.equals(Object)
and Object.hashCode()
.Modifier and Type | Method and Description |
---|---|
java.util.EnumSet<IDeviceService.DeviceField> |
getKeyFields()
Returns the set of key fields for this entity class.
|
java.lang.String |
getName()
Returns a user-friendly, unique name for this EntityClass.
|
java.util.EnumSet<IDeviceService.DeviceField> getKeyFields()
java.lang.String getName()