leitstand-inventory-api/src/main/java/io/leitstand/inventory/service/BaseElementEnvelope.java
public B withElement(BaseElementEnvelope envelope) {
            assertNotInvalidated(getClass(), object);
            super.withGroup(envelope);
            withAdministrativeState(envelope.getAdministrativeState());
            withDateModified(envelope.getDateModified());
            withElementAlias(envelope.getElementAlias());
            withElementId(envelope.getElementId());
            withElementName(envelope.getElementName());
            withElementRole(envelope.getElementRole());
            withOperationalState(envelope.getOperationalState());
            return (B) this;
        }
/**
         * Copies all setting of the given element envelope to this envelope.
         * This is a convenience method 
         * @param envelope
         * @return
         */
Copies all setting of the given element envelope to this envelope.
This is a convenience method
@param envelope
@return
Copies all setting of the given element envelope to this envelope . This is a convenience method @param envelope @return
public B withElement(BaseElementEnvelope envelope) {
            assertNotInvalidated(getClass(), object);
            super.withGroup(envelope);
            withAdministrativeState(envelope.getAdministrativeState());
            withDateModified(envelope.getDateModified());
            withElementAlias(envelope.getElementAlias());
            withElementId(envelope.getElementId());
            withElementName(envelope.getElementName());
            withElementRole(envelope.getElementRole());
            withOperationalState(envelope.getOperationalState());
            return (B) this;
        }
public B withElement ( BaseElementEnvelope envelope ) { assertNotInvalidated ( getClass ( ) , object ) ; super . withGroup ( envelope ) ; withAdministrativeState ( envelope . getAdministrativeState ( ) ) ; withDateModified ( envelope . getDateModified ( ) ) ; withElementAlias ( envelope . getElementAlias ( ) ) ; withElementId ( envelope . getElementId ( ) ) ; withElementName ( envelope . getElementName ( ) ) ; withElementRole ( envelope . getElementRole ( ) ) ; withOperationalState ( envelope . getOperationalState ( ) ) ; return ( B ) this ; }
Copies all setting of the given element envelope to this envelope.
Copies all setting of the given element envelope to this envelope .