コード例 #1
0
 public static AlternateIdConstraint getInitiatorPortInitiatorConstraint(String initiatorPort) {
   DataObjectType doType = TypeMap.getDoType(Initiator.class);
   return new AlternateIdConstraintImpl(
       doType.getColumnField("iniport"), EndpointUtility.changeCase(initiatorPort));
 }
コード例 #2
0
 public static AlternateIdConstraint getIpInterfaceIpAddressConstraint(String ipAddress) {
   DataObjectType doType = TypeMap.getDoType(IpInterface.class);
   return new AlternateIdConstraintImpl(
       doType.getColumnField("ipAddress"), EndpointUtility.changeCase(ipAddress));
 }
コード例 #3
0
 public static AlternateIdConstraint getEndpointNetworkConstraint(String endpoint) {
   DataObjectType doType = TypeMap.getDoType(Network.class);
   return new AlternateIdConstraintImpl(
       doType.getColumnField("endpoints"), EndpointUtility.changeCase(endpoint));
 }