public short getZoneState(IEndPointRequestContext context)
     throws ApplianceException, ServiceClusterException {
   if (context != null) {
     Short objectResult = null;
     objectResult =
         ((Short) getValidCachedAttributeObject(0, context.getMaxAgeForAttributeValues()));
     if (objectResult != null) {
       return objectResult.shortValue();
     }
   }
   IZclFrame zclFrame = readAttribute(0, context);
   short v = ZclDataTypeEnum8.zclParse(zclFrame);
   setCachedAttributeObject(0, new Short(v));
   return v;
 }
 public static GetUsertypeResponse zclParse(IZclFrame zclFrame) throws ZclValidationException {
   GetUsertypeResponse r = new GetUsertypeResponse();
   r.UserID = ZclDataTypeUI16.zclParse(zclFrame);
   r.UserType = ZclDataTypeEnum8.zclParse(zclFrame);
   return r;
 }