leitstand-inventory-api/src/main/java/io/leitstand/inventory/service/BaseElementEnvelope.java
public B withElementRole(ElementRoleName role){
			assertNotInvalidated(getClass(), object);
			((BaseElementEnvelope)object).elementRole = role;
			return (B) this;
		}
/**
		 * Sets the element role.
		 * @param role the element role
		 * @return a reference to this builder to continue with object creation
		 */
Sets the element role.
@param role the element role
@return a reference to this builder to continue with object creation
Sets the element role . @param role the element role @return a reference to this builder to continue with object creation
public B withElementRole(ElementRoleName role){
			assertNotInvalidated(getClass(), object);
			((BaseElementEnvelope)object).elementRole = role;
			return (B) this;
		}
public B withElementRole ( ElementRoleName role ) { assertNotInvalidated ( getClass ( ) , object ) ; ( ( BaseElementEnvelope ) object ) . elementRole = role ; return ( B ) this ; }
Sets the element role.
Sets the element role .