src/edu/kit/informatik/literatur_system/Publication.java
/**
     * Adds a reference to other publication
     * @param p the entity being quoted by this
     * @throws InvalidRelationException if the given entity was already quoted by this
     */
Adds a reference to other publication
@param p the entity being quoted by this
@throws InvalidRelationException if the given entity was already quoted by this
Adds a reference to other publication @param p the entity being quoted by this @throws InvalidRelationException if the given entity was already quoted by this
public void addReferenceToOther(final Publication p) {
        if (referenceToOther.containsKey(p))
            throw Utilities.invalidRelation(this.getClass(), p.getClass());
        referenceToOther.put(p, p);
    }
public void addReferenceToOther ( final Publication p ) { if ( referenceToOther . containsKey ( p ) ) throw Utilities . invalidRelation ( this . getClass ( ) , p . getClass ( ) ) ; referenceToOther . put ( p , p ) ; }
Adds a reference to other publication
 @param p the entity being quoted by this
 @throws InvalidRelationException if the given entity was already quoted by this
Adds a reference to other publication @param p the entity being quoted by this @throws InvalidRelationException if the given entity was already quoted by this