All Downloads are FREE. Search and download functionalities are using the official Maven repository.

tfw.tsm.ecd.ByteECD Maven / Gradle / Ivy

Go to download

The FrameWork for building highly scalable and maintainable applications

The newest version!
package tfw.tsm.ecd;

import tfw.value.ByteConstraint;
import tfw.value.ClassValueConstraint;

/**
 * A java.lang.Integer event channel descritpion
 */
public class ByteECD extends ObjectECD {
    /**
     * Creates an event channel description with the specified attribute.
     * @param name the name of the event channel.
     * @param min the minimum value allowed.
     * @param max the maximum value allowed.
     */
    public ByteECD(String name, byte min, byte max) {
        super(name, new ByteConstraint(min, max));
    }

    /**
     * Creates an event channel description with the specified name.
     * @param name the name of the event channel.
     */
    public ByteECD(String name) {
        super(name, ClassValueConstraint.BYTE);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy