agave-metadata/metadata-core/src/main/java/org/iplantc/service/metadata/model/MetadataAssociationList.java
/**
     * Adds a single {@code uuid} to this {@link MetadataAssociationList}.
     * @param uuid a valid serialized {@link AgaveUUID} strings.
     * @throws MetadataAssociationException if the {@code uuid} is invalid
     * @throws PermissionException if the user does not have permission to reference the {@code uuid}
     */
Adds a single  uuid to this  MetadataAssociationList.
@param uuid a valid serialized  AgaveUUID strings.
@throws MetadataAssociationException if the  uuid is invalid
@throws PermissionException if the user does not have permission to reference the  uuid
Adds a single uuid to this MetadataAssociationList . @param uuid a valid serialized AgaveUUID strings . @throws MetadataAssociationException if the uuid is invalid @throws PermissionException if the user does not have permission to reference the uuid
public void add(String uuid) throws MetadataAssociationException, PermissionException {
        if (StringUtils.isEmpty(uuid) || !associatedIds.containsKey(uuid)) {
            AssociatedReference ref = checkForValidAssociationUuid(uuid);
            this.associatedIds.put(uuid, ref);
        }
    }
public void add ( String uuid ) throws MetadataAssociationException , PermissionException { if ( StringUtils . isEmpty ( uuid ) || ! associatedIds . containsKey ( uuid ) ) { AssociatedReference ref = checkForValidAssociationUuid ( uuid ) ; this . associatedIds . put ( uuid , ref ) ; } }
Adds a single {@code uuid} to this {@link MetadataAssociationList}.
Adds a single { @code uuid } to this { @link MetadataAssociationList } .