/** * Constructor for a {@code StatusVariable} of {@code float} type. * * @param id the identifier of the {@code StatusVariable} * @param cm the collection method, one of the {@code CM_} constants * @param data the {@code float} value of the {@code StatusVariable} * @throws java.lang.IllegalArgumentException if the given {@code id} is not * a valid {@code StatusVariable} name, or if {@code cm} is not one * of the collection method constants * @throws java.lang.NullPointerException if the {@code id} parameter is * {@code null} */ public StatusVariable(String id, int cm, float data) { setCommon(id, cm); type = TYPE_FLOAT; floatData = data; }
/** * Constructor for a {@code StatusVariable} of {@code boolean} type. * * @param id the identifier of the {@code StatusVariable} * @param cm the collection method, one of the {@code CM_} constants * @param data the {@code boolean} value of the {@code StatusVariable} * @throws java.lang.IllegalArgumentException if the given {@code id} is not * a valid {@code StatusVariable} name, or if {@code cm} is not one * of the collection method constants * @throws java.lang.NullPointerException if the {@code id} parameter is * {@code null} */ public StatusVariable(String id, int cm, boolean data) { setCommon(id, cm); type = TYPE_BOOLEAN; booleanData = data; }
/** * Constructor for a {@code StatusVariable} of {@code String} type. * * @param id the identifier of the {@code StatusVariable} * @param cm the collection method, one of the {@code CM_} constants * @param data the {@code String} value of the {@code StatusVariable}, can * be {@code null} * @throws java.lang.IllegalArgumentException if the given {@code id} is not * a valid {@code StatusVariable} name, or if {@code cm} is not one * of the collection method constants * @throws java.lang.NullPointerException if the {@code id} parameter is * {@code null} */ public StatusVariable(String id, int cm, String data) { setCommon(id, cm); type = TYPE_STRING; stringData = data; }
/** * Constructor for a {@code StatusVariable} of {@code int} type. * * @param id the identifier of the {@code StatusVariable} * @param cm the collection method, one of the {@code CM_} constants * @param data the {@code int} value of the {@code StatusVariable} * @throws java.lang.IllegalArgumentException if the given {@code id} is not * a valid {@code StatusVariable} name, or if {@code cm} is not one * of the collection method constants * @throws java.lang.NullPointerException if the {@code id} parameter is * {@code null} */ public StatusVariable(String id, int cm, int data) { setCommon(id, cm); type = TYPE_INTEGER; intData = data; }
/** * Constructor for a <code>StatusVariable</code> of <code>int</code> * type. * * @param id the identifier of the <code>StatusVariable</code> * @param cm the collection method, one of the <code>CM_</code> constants * @param data the <code>int</code> value of the * <code>StatusVariable</code> * @throws java.lang.IllegalArgumentException if the given <code>id</code> * is not a valid <code>StatusVariable</code> name, or if * <code>cm</code> is not one of the collection method constants * @throws java.lang.NullPointerException if the <code>id</code> * parameter is <code>null</code> */ public StatusVariable(String id, int cm, int data) { setCommon(id, cm); type = TYPE_INTEGER; intData = data; }
/** * Constructor for a <code>StatusVariable</code> of <code>boolean</code> * type. * * @param id the identifier of the <code>StatusVariable</code> * @param cm the collection method, one of the <code>CM_</code> constants * @param data the <code>boolean</code> value of the * <code>StatusVariable</code> * @throws java.lang.IllegalArgumentException if the given <code>id</code> * is not a valid <code>StatusVariable</code> name, or if * <code>cm</code> is not one of the collection method constants * @throws java.lang.NullPointerException if the <code>id</code> parameter * is <code>null</code> */ public StatusVariable(String id, int cm, boolean data) { setCommon(id, cm); type = TYPE_BOOLEAN; booleanData = data; }
/** * Constructor for a <code>StatusVariable</code> of <code>String</code> * type. * * @param id the identifier of the <code>StatusVariable</code> * @param cm the collection method, one of the <code>CM_</code> constants * @param data the <code>String</code> value of the * <code>StatusVariable</code>, can be <code>null</code> * @throws java.lang.IllegalArgumentException if the given <code>id</code> * is not a valid <code>StatusVariable</code> name, or if * <code>cm</code> is not one of the collection method constants * @throws java.lang.NullPointerException if the <code>id</code> parameter * is <code>null</code> */ public StatusVariable(String id, int cm, String data) { setCommon(id, cm); type = TYPE_STRING; stringData = data; }
/** * Constructor for a <code>StatusVariable</code> of <code>float</code> * type. * * @param id the identifier of the <code>StatusVariable</code> * @param cm the collection method, one of the <code>CM_</code> constants * @param data the <code>float</code> value of the * <code>StatusVariable</code> * @throws java.lang.IllegalArgumentException if the given <code>id</code> * is not a valid <code>StatusVariable</code> name, or if * <code>cm</code> is not one of the collection method constants * @throws java.lang.NullPointerException if the <code>id</code> parameter * is <code>null</code> */ public StatusVariable(String id, int cm, float data) { setCommon(id, cm); type = TYPE_FLOAT; floatData = data; }
/** * Constructor for a {@code StatusVariable} of {@code boolean} type. * * @param id the identifier of the {@code StatusVariable} * @param cm the collection method, one of the {@code CM_} constants * @param data the {@code boolean} value of the {@code StatusVariable} * @throws java.lang.IllegalArgumentException if the given {@code id} is not * a valid {@code StatusVariable} name, or if {@code cm} is not one * of the collection method constants * @throws java.lang.NullPointerException if the {@code id} parameter is * {@code null} */ public StatusVariable(String id, int cm, boolean data) { setCommon(id, cm); type = TYPE_BOOLEAN; booleanData = data; }
/** * Constructor for a {@code StatusVariable} of {@code int} type. * * @param id the identifier of the {@code StatusVariable} * @param cm the collection method, one of the {@code CM_} constants * @param data the {@code int} value of the {@code StatusVariable} * @throws java.lang.IllegalArgumentException if the given {@code id} is not * a valid {@code StatusVariable} name, or if {@code cm} is not one * of the collection method constants * @throws java.lang.NullPointerException if the {@code id} parameter is * {@code null} */ public StatusVariable(String id, int cm, int data) { setCommon(id, cm); type = TYPE_INTEGER; intData = data; }
/** * Constructor for a {@code StatusVariable} of {@code float} type. * * @param id the identifier of the {@code StatusVariable} * @param cm the collection method, one of the {@code CM_} constants * @param data the {@code float} value of the {@code StatusVariable} * @throws java.lang.IllegalArgumentException if the given {@code id} is not * a valid {@code StatusVariable} name, or if {@code cm} is not one * of the collection method constants * @throws java.lang.NullPointerException if the {@code id} parameter is * {@code null} */ public StatusVariable(String id, int cm, float data) { setCommon(id, cm); type = TYPE_FLOAT; floatData = data; }
/** * Constructor for a {@code StatusVariable} of {@code float} type. * * @param id the identifier of the {@code StatusVariable} * @param cm the collection method, one of the {@code CM_} constants * @param data the {@code float} value of the {@code StatusVariable} * @throws java.lang.IllegalArgumentException if the given {@code id} is not * a valid {@code StatusVariable} name, or if {@code cm} is not one * of the collection method constants * @throws java.lang.NullPointerException if the {@code id} parameter is * {@code null} */ public StatusVariable(String id, int cm, float data) { setCommon(id, cm); type = TYPE_FLOAT; floatData = data; }
/** * Constructor for a {@code StatusVariable} of {@code int} type. * * @param id the identifier of the {@code StatusVariable} * @param cm the collection method, one of the {@code CM_} constants * @param data the {@code int} value of the {@code StatusVariable} * @throws java.lang.IllegalArgumentException if the given {@code id} is not * a valid {@code StatusVariable} name, or if {@code cm} is not one * of the collection method constants * @throws java.lang.NullPointerException if the {@code id} parameter is * {@code null} */ public StatusVariable(String id, int cm, int data) { setCommon(id, cm); type = TYPE_INTEGER; intData = data; }
/** * Constructor for a {@code StatusVariable} of {@code boolean} type. * * @param id the identifier of the {@code StatusVariable} * @param cm the collection method, one of the {@code CM_} constants * @param data the {@code boolean} value of the {@code StatusVariable} * @throws java.lang.IllegalArgumentException if the given {@code id} is not * a valid {@code StatusVariable} name, or if {@code cm} is not one * of the collection method constants * @throws java.lang.NullPointerException if the {@code id} parameter is * {@code null} */ public StatusVariable(String id, int cm, boolean data) { setCommon(id, cm); type = TYPE_BOOLEAN; booleanData = data; }
/** * Constructor for a {@code StatusVariable} of {@code String} type. * * @param id the identifier of the {@code StatusVariable} * @param cm the collection method, one of the {@code CM_} constants * @param data the {@code String} value of the {@code StatusVariable}, can * be {@code null} * @throws java.lang.IllegalArgumentException if the given {@code id} is not * a valid {@code StatusVariable} name, or if {@code cm} is not one * of the collection method constants * @throws java.lang.NullPointerException if the {@code id} parameter is * {@code null} */ public StatusVariable(String id, int cm, String data) { setCommon(id, cm); type = TYPE_STRING; stringData = data; }
/** * Constructor for a {@code StatusVariable} of {@code int} type. * * @param id the identifier of the {@code StatusVariable} * @param cm the collection method, one of the {@code CM_} constants * @param data the {@code int} value of the {@code StatusVariable} * @throws java.lang.IllegalArgumentException if the given {@code id} is not * a valid {@code StatusVariable} name, or if {@code cm} is not one * of the collection method constants * @throws java.lang.NullPointerException if the {@code id} parameter is * {@code null} */ public StatusVariable(String id, int cm, int data) { setCommon(id, cm); type = TYPE_INTEGER; intData = data; }
/** * Constructor for a {@code StatusVariable} of {@code float} type. * * @param id the identifier of the {@code StatusVariable} * @param cm the collection method, one of the {@code CM_} constants * @param data the {@code float} value of the {@code StatusVariable} * @throws java.lang.IllegalArgumentException if the given {@code id} is not * a valid {@code StatusVariable} name, or if {@code cm} is not one * of the collection method constants * @throws java.lang.NullPointerException if the {@code id} parameter is * {@code null} */ public StatusVariable(String id, int cm, float data) { setCommon(id, cm); type = TYPE_FLOAT; floatData = data; }
/** * Constructor for a {@code StatusVariable} of {@code int} * type. * * @param id the identifier of the {@code StatusVariable} * @param cm the collection method, one of the {@code CM_} constants * @param data the {@code int} value of the * {@code StatusVariable} * @throws java.lang.IllegalArgumentException if the given {@code id} * is not a valid {@code StatusVariable} name, or if * {@code cm} is not one of the collection method constants * @throws java.lang.NullPointerException if the {@code id} * parameter is {@code null} */ public StatusVariable(String id, int cm, int data) { setCommon(id, cm); type = TYPE_INTEGER; intData = data; }
/** * Constructor for a {@code StatusVariable} of {@code int} * type. * * @param id the identifier of the {@code StatusVariable} * @param cm the collection method, one of the {@code CM_} constants * @param data the {@code int} value of the * {@code StatusVariable} * @throws java.lang.IllegalArgumentException if the given {@code id} * is not a valid {@code StatusVariable} name, or if * {@code cm} is not one of the collection method constants * @throws java.lang.NullPointerException if the {@code id} * parameter is {@code null} */ public StatusVariable(String id, int cm, int data) { setCommon(id, cm); type = TYPE_INTEGER; intData = data; }
/** * Constructor for a {@code StatusVariable} of {@code float} * type. * * @param id the identifier of the {@code StatusVariable} * @param cm the collection method, one of the {@code CM_} constants * @param data the {@code float} value of the * {@code StatusVariable} * @throws java.lang.IllegalArgumentException if the given {@code id} * is not a valid {@code StatusVariable} name, or if * {@code cm} is not one of the collection method constants * @throws java.lang.NullPointerException if the {@code id} parameter * is {@code null} */ public StatusVariable(String id, int cm, float data) { setCommon(id, cm); type = TYPE_FLOAT; floatData = data; }