
io.relayr.java.model.models.schema.BooleanSchema Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-sdk Show documentation
Show all versions of java-sdk Show documentation
Java SDK for connecting to the Relayr Cloud
The newest version!
package io.relayr.java.model.models.schema;
public class BooleanSchema extends ValueSchema {
public BooleanSchema(ValueSchema schema) {
super(schema);
}
@Override public boolean validate(Object value) {
if (!validateNull(value)) return false;
if (!(value instanceof Boolean)) return false;
return true;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy