Changeset 59


Ignore:
Timestamp:
Mar 23, 2011, 11:15:04 PM (9 years ago)
Author:
kees.burger@…
Message:

Updated conceptwiki api to reflect changes made in common api

Location:
trunk/code/conceptstore/conceptwiki-storage-api/src/main/java/nl/nbic/conceptwiki/storage/api/domain
Files:
1 added
1 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/code/conceptstore/conceptwiki-storage-api/src/main/java/nl/nbic/conceptwiki/storage/api/domain/Concept.java

    r45 r59  
    4444         */
    4545        String getMergedInto();
    46        
    47         /**
    48          * Returns the {@link Branch}es for the given {@link Label} in the context
    49          * of it's relation to the Concept.
    50          * @param label a Label which has a relation with the Concept
    51          * @return a {@link Set} of Branches
    52          */
    53         Set<Branch> getBranchesForLabel(final Label label);
    54        
    55         /**
    56          * Returns the {@link Source}s for the given {@link Label} in the context
    57          * of it's relation to the Concept.
    58          * @param label a Label which has a relation with the Concept
    59          * @return a {@link Set} of Sources
    60          */
    61         Set<Source> getSourcesForLabel(final Label label);
    62        
    63         /**
    64          * Returns the {@link Branch}es for the given {@link Note} in the context
    65          * of it's relation to the Concept.
    66          * @param note a Note which has a relation with the Concept
    67          * @return a {@link Set} of Branches
    68          */
    69         Set<Branch> getBranchesForNote(final Note note);
    70        
    71         /**
    72          * Returns the {@link Source}s for the given {@link Note} in the context
    73          * of it's relation to the Concept.
    74          * @param note a Note which has a relation with the Concept
    75          * @return a {@link Set} of Sources
    76          */
    77         Set<Source> getSourcesForNote(final Note note);
    78        
    79         /**
    80          * Returns the {@link Branch}es for the given {@link Notation} in the
    81          * context of it's relation to the Concept.
    82          * @param notation a Notation which has a relation with the Concept
    83          * @return a {@link Set} of Branches
    84          */
    85         Set<Branch> getBranchesForNotation(final Notation notation);
    86        
    87         /**
    88          * Returns the {@link Source}s for the given {@link Notation} in the
    89          * context of it's relation to the Concept.
    90          * @param notation a Notation which has a relation with the Concept
    91          * @return a {@link Set} of Sources
    92          */
    93         Set<Source> getSourcesForNotation(final Notation notation);
    9446}
  • trunk/code/conceptstore/conceptwiki-storage-api/src/main/java/nl/nbic/conceptwiki/storage/api/domain/Notation.java

    r45 r59  
    11package nl.nbic.conceptwiki.storage.api.domain;
     2
     3import java.util.Collection;
    24
    35/**
     
    79 */
    810public interface Notation extends org.biosemantics.conceptstore.common.domain.Notation {
     11        Collection<Branch> getBranches();
    912}
  • trunk/code/conceptstore/conceptwiki-storage-api/src/main/java/nl/nbic/conceptwiki/storage/api/domain/Note.java

    r45 r59  
    11package nl.nbic.conceptwiki.storage.api.domain;
     2
     3import java.util.Collection;
    24
    35/**
     
    79 */
    810public interface Note extends org.biosemantics.conceptstore.common.domain.Note {
     11        Collection<Branch> getBranches();
    912}
  • trunk/code/conceptstore/conceptwiki-storage-api/src/main/java/nl/nbic/conceptwiki/storage/api/domain/Relationship.java

    r57 r59  
    1919         */
    2020        Set<Branch> getBranches();
    21        
    22         /**
    23          * Returns the {@link Source}s from which the information contained in the
    24          * relation is derived.
    25          * @return a {@link Set} of Sources
    26          */
    27         Set<Source> getSources();
    2821}
Note: See TracChangeset for help on using the changeset viewer.