public void setConnectorId(int connectorId) throws PropertyConstraintException {
if (connectorId < 0)
throw new PropertyConstraintException("connectorId", connectorId, "Must be >= 0");
this.connectorId = connectorId;
}
<BUG>public String getType() {
return type.toString();
}
public AvailabilityType objType() {</BUG>
return type;

public void setConnectorId(int connectorId) throws PropertyConstraintException {
if (connectorId < 0)
throw new PropertyConstraintException("connectorId", connectorId, "Must be >= 0");
this.connectorId = connectorId;
