/** * Set the title on the latest rel(). * * @param title * @return this relationship definition instance to facilitate method chaining. */ public RelationshipDefinition title(String title) { return attribute(TITLE, title); }
/** * HAL-specific. Set the 'name' property of the latest rel(). * * @param name * @return this relationship definition instance to facilitate method chaining. */ public RelationshipDefinition name(String name) { return attribute(NAME, name); }
/** * Atom-specific. * * @param value * @return this relationship definition instance to facilitate method chaining. */ public RelationshipDefinition length(String value) { return attribute(LENGTH, value); }
/** * Set the 'hreflang' property on the latest rel(). * * @param value * @return this relationship definition instance to facilitate method chaining. */ public RelationshipDefinition hreflang(String value) { return attribute(HREFLANG, value); }
/** * Set the 'type' property on the latest rel(). * * @param type * @return this relationship definition instance to facilitate method chaining. */ public RelationshipDefinition type(String type) { return attribute(TYPE, type); }
/** * HAL-specific. * * @param value * @return this relationship definition instance to facilitate method chaining. */ public RelationshipDefinition deprecation(String value) { return attribute(DEPRECATION, value); }
/** * HAL-specific. * * @param value * @return this relationship definition instance to facilitate method chaining. */ public RelationshipDefinition profile(String value) { return attribute(PROFILE, value); }
/** * HAL-specific. Set the 'templated' property of the latest rel(). * * @param value * @return this relationship definition instance to facilitate method chaining. */ public RelationshipDefinition templated(boolean value) { if (value) { return attribute(TEMPLATED, Boolean.TRUE.toString()); } return attribute(TEMPLATED, null); }