Package org.mmisw.orrclient.gwt.client.rpc.vine

Examples of org.mmisw.orrclient.gwt.client.rpc.vine.RelationInfo


    if ( newMappings == null ) {
      return;
    }

    for ( Mapping mapping : newMappings ) {
      RelationInfo relInfo = relInfoMap.get(mapping.getRelation());

      String codedLeft = VineMain.getCodedTerm(mapping.getLeft());
      String codedRight = VineMain.getCodedTerm(mapping.getRight());

      _addMapping(codedLeft, relInfo, codedRight, mapping.getMetadata());
View Full Code Here


  /** creates the SKOS-based relationInfos */
  private static List<RelationInfo>  _createSkosRelationInfos() {
 
    List<RelationInfo> relInfos = new ArrayList<RelationInfo>();
   
    relInfos.add(new RelationInfo(
        "exactMatch28.png",
        "exactMatch",
        EXACT_MATCH_DESCRIPTION + "\n\n" + Skos.exactMatch.getURI(),
        Skos.exactMatch.getURI()
    ));
   
    relInfos.add(new RelationInfo(
        "closeMatch28.png",
        "closeMatch",
        CLOSE_MATCH_DESCRIPTION + "\n\n" + Skos.closeMatch.getURI(),
        Skos.closeMatch.getURI()
    ));
   
    relInfos.add(new RelationInfo(
        "broadMatch28.png",
        "broadMatch",
        BROAD_MATCH_DESCRIPTION + "\n\n" + Skos.broadMatch.getURI(),
        Skos.broadMatch.getURI()
    ));

    relInfos.add(new RelationInfo(
        "narrowMatch28.png",
        "narrowMatch",
        NARROW_MATCH_DESCRIPTION + "\n\n" + Skos.narrowMatch.getURI(),
        Skos.narrowMatch.getURI()
    ));

    relInfos.add(new RelationInfo(
        "relatedMatch28.png",
        "relatedMatch",
        RELATED_MATCH_DESCRIPTION + "\n\n" + Skos.relatedMatch.getURI(),
        Skos.relatedMatch.getURI()
    ));
View Full Code Here

  /** creates the SKOS2-based relationInfos */
  private static List<RelationInfo>  _createSkos2RelationInfos() {
   
    List<RelationInfo> relInfos = new ArrayList<RelationInfo>();
   
    relInfos.add(new RelationInfo(
        "exactMatch28.png",
        "exactMatch",
        EXACT_MATCH_DESCRIPTION + "\n\n" + Skos2.exactMatch.getURI(),
        Skos2.exactMatch.getURI()
    ));
   
    relInfos.add(new RelationInfo(
        "closeMatch28.png",
        "closeMatch",
        CLOSE_MATCH_DESCRIPTION + "\n\n" + Skos2.closeMatch.getURI(),
        Skos2.closeMatch.getURI()
    ));
   
    relInfos.add(new RelationInfo(
        "broadMatch28.png",
        "broadMatch",
        BROAD_MATCH_DESCRIPTION + "\n\n" + Skos2.broadMatch.getURI(),
        Skos2.broadMatch.getURI()
    ));
   
    relInfos.add(new RelationInfo(
        "narrowMatch28.png",
        "narrowMatch",
        NARROW_MATCH_DESCRIPTION + "\n\n" + Skos2.narrowMatch.getURI(),
        Skos2.narrowMatch.getURI()
    ));
   
    relInfos.add(new RelationInfo(
        "relatedMatch28.png",
        "relatedMatch",
        RELATED_MATCH_DESCRIPTION + "\n\n" + Skos2.relatedMatch.getURI(),
        Skos2.relatedMatch.getURI()
    ));
View Full Code Here

TOP

Related Classes of org.mmisw.orrclient.gwt.client.rpc.vine.RelationInfo

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.