public static AlternateIdConstraint getInitiatorPortInitiatorConstraint(String initiatorPort) {
   DataObjectType doType = TypeMap.getDoType(Initiator.class);
   return new AlternateIdConstraintImpl(
       doType.getColumnField("iniport"), EndpointUtility.changeCase(initiatorPort));
 }
 public static AlternateIdConstraint getIpInterfaceIpAddressConstraint(String ipAddress) {
   DataObjectType doType = TypeMap.getDoType(IpInterface.class);
   return new AlternateIdConstraintImpl(
       doType.getColumnField("ipAddress"), EndpointUtility.changeCase(ipAddress));
 }
 public static AlternateIdConstraint getEndpointNetworkConstraint(String endpoint) {
   DataObjectType doType = TypeMap.getDoType(Network.class);
   return new AlternateIdConstraintImpl(
       doType.getColumnField("endpoints"), EndpointUtility.changeCase(endpoint));
 }