/** Creates the list with link instances necessary for the query list. */
 private void createQueryMixins() {
   IPNetworkInterface.generateAttributeList();
   if (ipNetworkInterface == null) {
     HashSet<Mixin> related = new HashSet<Mixin>();
     try {
       related.add(
           new Mixin(
               null,
               "ipnetwork",
               "ipnetwork",
               "http://schemas.ogf.org/occi/core#link",
               IPNetworkInterface.attributes));
       ipNetworkInterface =
           new IPNetworkInterface(
               related,
               "ipnetwork",
               "ipnetwork",
               "http://schemas.ogf.org/occi/infrastructure/network#",
               IPNetworkInterface.attributes);
     } catch (SchemaViolationException e) {
       e.printStackTrace();
     } catch (URISyntaxException e) {
       e.printStackTrace();
     }
   }
 }