net.floodlightcontroller.devicemanager.internal
Class DefaultEntityClassifier.DefaultEntityClass

java.lang.Object
  extended by net.floodlightcontroller.devicemanager.internal.DefaultEntityClassifier.DefaultEntityClass
All Implemented Interfaces:
IEntityClass
Enclosing class:
DefaultEntityClassifier

protected static class DefaultEntityClassifier.DefaultEntityClass
extends java.lang.Object
implements IEntityClass

A default fixed entity class


Constructor Summary
DefaultEntityClassifier.DefaultEntityClass(java.lang.String name)
           
 
Method Summary
 java.util.EnumSet<IDeviceService.DeviceField> getKeyFields()
          Return the set of key fields for this entity class.
 java.lang.String getName()
          Returns a user-friendly, unique name for this EntityClass
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultEntityClassifier.DefaultEntityClass

public DefaultEntityClassifier.DefaultEntityClass(java.lang.String name)
Method Detail

getKeyFields

public java.util.EnumSet<IDeviceService.DeviceField> getKeyFields()
Description copied from interface: IEntityClass
Return the set of key fields for this entity class. Entities belonging to this class that differ in fields not included in this collection will be considered the same device. The key fields for an entity class must not change unless associated with a flush of that entity class.

Specified by:
getKeyFields in interface IEntityClass
Returns:
a set containing the fields that should not be wildcarded. May be null to indicate that all fields are key fields.

getName

public java.lang.String getName()
Description copied from interface: IEntityClass
Returns a user-friendly, unique name for this EntityClass

Specified by:
getName in interface IEntityClass
Returns:
the name of the entity class