private void setCommon(String id, int cm) throws IllegalArgumentException, NullPointerException { checkId(id, "StatusVariable ID"); if (cm != CM_CC && cm != CM_DER && cm != CM_GAUGE && cm != CM_SI) throw new IllegalArgumentException("Unknown data collection method constant '" + cm + "'."); this.id = id; this.cm = cm; timeStamp = new Date(); }
private void setCommon(String id, int cm) throws IllegalArgumentException, NullPointerException { checkId(id, "StatusVariable ID"); if (cm != CM_CC && cm != CM_DER && cm != CM_GAUGE && cm != CM_SI) throw new IllegalArgumentException( "Unknown data collection method constant '" + cm + "'."); this.id = id; this.cm = cm; timeStamp = new Date(); }
private void setCommon(String id, int cm) throws IllegalArgumentException, NullPointerException { checkId(id, "StatusVariable ID"); if (cm != CM_CC && cm != CM_DER && cm != CM_GAUGE && cm != CM_SI) throw new IllegalArgumentException("Unknown data collection method constant '" + cm + "'."); this.id = id; this.cm = cm; timeStamp = new Date(); }
private void setCommon(String id, int cm) throws IllegalArgumentException, NullPointerException { checkId(id, "StatusVariable ID"); if (cm != CM_CC && cm != CM_DER && cm != CM_GAUGE && cm != CM_SI) throw new IllegalArgumentException("Unknown data collection method constant '" + cm + "'."); this.id = id; this.cm = cm; timeStamp = new Date(); }
private void setCommon(String id, int cm) throws IllegalArgumentException, NullPointerException { checkId(id, "StatusVariable ID"); if (cm != CM_CC && cm != CM_DER && cm != CM_GAUGE && cm != CM_SI) throw new IllegalArgumentException( "Unknown data collection method constant '" + cm + "'."); this.id = id; this.cm = cm; timeStamp = new Date(); }
private void setCommon(String id, int cm) throws IllegalArgumentException, NullPointerException { checkId(id, "StatusVariable ID"); if (cm != CM_CC && cm != CM_DER && cm != CM_GAUGE && cm != CM_SI) throw new IllegalArgumentException("Unknown data collection method constant '" + cm + "'."); this.id = id; this.cm = cm; timeStamp = new Date(); }
private void setCommon(String id, int cm) throws IllegalArgumentException, NullPointerException { checkId(id, "StatusVariable ID"); if (cm != CM_CC && cm != CM_DER && cm != CM_GAUGE && cm != CM_SI) throw new IllegalArgumentException( "Unknown data collection method constant '" + cm + "'."); this.id = id; this.cm = cm; timeStamp = new Date(); }