/** * Sets a new type of initiative under which the associated resource was produced. * * @param newValue the new type of initiative. */ public void setInitiativeType(final InitiativeType newValue) { checkWritePermission(); initiativeType = newValue; }
/** * Sets citation information about the associated resource. * * @param newValue the new citation information, or {@code null}. */ public void setName(final Citation newValue) { checkWritePermission(name); name = newValue; }
/** * Sets the reference to the metadata of the associated resource. * * @param newValue the new reference to the metadata. */ public void setMetadataReference(final Citation newValue) { checkWritePermission(); metadataReference = newValue; } }
/** * Sets the reference to the metadata of the associated resource. * * @param newValue the new reference to the metadata. */ public void setMetadataReference(final Citation newValue) { checkWritePermission(metadataReference); metadataReference = newValue; } }
/** * Sets citation information about the associated resource. * * @param newValue the new citation information, or {@code null}. */ public void setName(final Citation newValue) { checkWritePermission(); name = newValue; }
/** * Sets the type of relation between the resources. * * @param newValue the new type of relation. */ public void setAssociationType(final AssociationType newValue) { checkWritePermission(); associationType = newValue; }
/** * Sets the type of relation between the resources. * * @param newValue the new type of relation. */ public void setAssociationType(final AssociationType newValue) { checkWritePermission(associationType); associationType = newValue; }
/** * Sets a new type of initiative under which the associated resource was produced. * * @param newValue the new type of initiative. */ public void setInitiativeType(final InitiativeType newValue) { checkWritePermission(initiativeType); initiativeType = newValue; }