Package jpl.eda.profile

Examples of jpl.eda.profile.EnumeratedProfileElement


      Collections.singletonList(artistName), /*subjects*/EL, /*pubs*/EL, /*contrib*/EL, /*dates*/EL, /*types*/EL,
      /*sources*/EL, /*langs*/EL, /*relations*/EL, /*covs*/EL, /*rights*/EL,
      Collections.singletonList("Tutorial.Music"), "granule", "system.productServer",
      Collections.singletonList("urn:eda:rmi:MyProductServer"));
    p.setResourceAttributes(ra);
    EnumeratedProfileElement artistElem =
      new EnumeratedProfileElement(p, "artist", "artist", "Name of the artist of a work", "string", "name",
        /*syns*/EL, /*ob*/true, /*maxOccur*/1, /*comment*/null, Collections.singletonList(artistName));
    p.getProfileElements().put("artist",
      artistElem);
    EnumeratedProfileElement albumElem = new EnumeratedProfileElement(p, "album", "album",
      "Name of album where track occurs", "string", "name", /*syns*/EL, /*ob*/true, /*maxOccur*/1, /*comment*/null,
      Collections.singletonList(albumName));
    p.getProfileElements().put("album", albumElem);
    return p;
  }
View Full Code Here

TOP

Related Classes of jpl.eda.profile.EnumeratedProfileElement

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.