Package com.arcusys.learn.persistence.liferay.model.impl

Examples of com.arcusys.learn.persistence.liferay.model.impl.LFBigDecimalImpl


     * @param id the primary key for the new l f big decimal
     * @return the new l f big decimal
     */
    @Override
    public LFBigDecimal create(long id) {
        LFBigDecimal lfBigDecimal = new LFBigDecimalImpl();

        lfBigDecimal.setNew(true);
        lfBigDecimal.setPrimaryKey(id);

        return lfBigDecimal;
    }
View Full Code Here


    protected LFBigDecimal toUnwrappedModel(LFBigDecimal lfBigDecimal) {
        if (lfBigDecimal instanceof LFBigDecimalImpl) {
            return lfBigDecimal;
        }

        LFBigDecimalImpl lfBigDecimalImpl = new LFBigDecimalImpl();

        lfBigDecimalImpl.setNew(lfBigDecimal.isNew());
        lfBigDecimalImpl.setPrimaryKey(lfBigDecimal.getPrimaryKey());

        lfBigDecimalImpl.setId(lfBigDecimal.getId());
        lfBigDecimalImpl.setDecimal(lfBigDecimal.getDecimal());
        lfBigDecimalImpl.setText(lfBigDecimal.getText());

        return lfBigDecimalImpl;
    }
View Full Code Here

TOP

Related Classes of com.arcusys.learn.persistence.liferay.model.impl.LFBigDecimalImpl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.