/** * Sets the subject matter used to group similar keywords. * * @param newValue the new keyword type. */ public void setType(final KeywordType newValue) { checkWritePermission(type); type = newValue; }
/** * Sets the name of the formally registered thesaurus or a similar authoritative source of keywords. * * @param newValue the new thesaurus name. */ public void setThesaurusName(final Citation newValue) { checkWritePermission(thesaurusName); thesaurusName = newValue; }
/** * Sets the subject matter used to group similar keywords. * * @param newValue the new keyword type. */ public void setType(final KeywordType newValue) { checkWritePermission(); type = newValue; }
/** * Sets the name of the formally registered thesaurus or a similar authoritative source of keywords. * * @param newValue the new thesaurus name. */ public void setThesaurusName(final Citation newValue) { checkWritePermission(); thesaurusName = newValue; }
/** * Sets the user-defined categorization of groups of keywords. * * <div class="warning"><b>Upcoming API change — generalization</b><br> * The argument type will be changed to the {@code KeywordClass} interface when GeoAPI will provide it * (tentatively in GeoAPI 3.1).</div> * * @param newValue new user-defined categorization of groups of keywords. * * @since 0.5 */ public void setKeywordClass(final DefaultKeywordClass newValue) { checkWritePermission(keywordClass); keywordClass = newValue; } }
checkWritePermission(); keywordClass = newValue;