use semantics for java activities
prevent none number input