How make restriction on the data property to have a distinct value for individuals
<p>I have a class <code>Sensor</code>, and each sensor <code>hasID</code> data property. Each sensor has a distinct <code>ID#</code> which cannot take by another sensor. In other word, two sensors cannot have a same <code>ID#</code>. How can I represent this?</p>