src/edu/kit/informatik/literatur_system/Publication.java
/**
     * Adds a reference to this
     * @param p the entity that quotes this
     * @throws InvalidRelationException if the entity already quoted this
     */
Adds a reference to this
@param p the entity that quotes this
@throws InvalidRelationException if the entity already quoted this
Adds a reference to this @param p the entity that quotes this @throws InvalidRelationException if the entity already quoted this
public void addReferenceToThis(final Publication p) {
        if (referenceToThis.containsKey(p))
            throw Utilities.invalidRelation(this.getClass(), p.getClass());
        referenceToThis.put(p, p);
    }
public void addReferenceToThis ( final Publication p ) { if ( referenceToThis . containsKey ( p ) ) throw Utilities . invalidRelation ( this . getClass ( ) , p . getClass ( ) ) ; referenceToThis . put ( p , p ) ; }
Adds a reference to this
 @param p the entity that quotes this
 @throws InvalidRelationException if the entity already quoted this
Adds a reference to this @param p the entity that quotes this @throws InvalidRelationException if the entity already quoted this