agave-metadata/metadata-core/src/main/java/org/iplantc/service/metadata/model/MetadataAssociationList.java
/**
     * Adds a single {@code ref} to this {@link MetadataAssociationList}.
     * @param ref a valid {@link AssociatedReference}
     */
Adds a single  ref to this  MetadataAssociationList.
@param ref a valid  AssociatedReference
Adds a single ref to this MetadataAssociationList . @param ref a valid AssociatedReference
public void add(AssociatedReference ref){
        if (ref != null && !associatedIds.containsKey(ref.getUuid().toString())) {
            this.associatedIds.put(ref.getUuid().toString(), ref);
        }
    }
public void add ( AssociatedReference ref ) { if ( ref != null && ! associatedIds . containsKey ( ref . getUuid ( ) . toString ( ) ) ) { this . associatedIds . put ( ref . getUuid ( ) . toString ( ) , ref ) ; } }
Adds a single {@code ref} to this {@link MetadataAssociationList}.
Adds a single { @code ref } to this { @link MetadataAssociationList } .