@Override
 public int hashCode() {
   final int prime = 31;
   int result = 1;
   result = prime * result + (inclusiveLower ? 1231 : 1237);
   result = prime * result + (inclusiveUpper ? 1231 : 1237);
   result = prime * result + ((lower == null) ? 0 : lower.hashCode());
   result = prime * result + ((upper == null) ? 0 : upper.hashCode());
   return result;
 }
 /**
  * Computes a hashcode for the LightDefinition object.
  *
  * @return the hashcode.
  */
 public int hashCode() {
   int result = 0;
   if (color != null) {
     result += color.hashCode();
   }
   if (limit != null) {
     result = 31 * result + limit.hashCode();
   } else {
     result = 31 * result;
   }
   return result;
 }