/** * Build out this name part with a type. * * @param type The type. * @return this. */ public NamePart type(URI type) { setType(type); return this; }
/** * Set the type of this name part from an enumeration of known name part types. * * @param knownType The name part type. */ @JsonIgnore @org.codehaus.jackson.annotate.JsonIgnore public void setKnownType(NamePartType knownType) { setType(knownType == null ? null : knownType.toQNameURI()); }