Package org.zeroexchange.model.i18n

Examples of org.zeroexchange.model.i18n.CategoryStrings


     */
    @OneToOne(cascade = CascadeType.ALL, mappedBy = Strings.FIELD_TARGET)
    @Cascade({org.hibernate.annotations.CascadeType.ALL, org.hibernate.annotations.CascadeType.DELETE_ORPHAN})
    public CategoryStrings getTitles() {
        if(titles == null) {
            titles = new CategoryStrings();
            titles.setTarget(this);
        }
        return titles;
    }
View Full Code Here


            targetProperty.setContainerType(0);
            targetProperties.add(targetProperty);
        }
       
        //Setup category titles
        CategoryStrings categoryStrings = new CategoryStrings();
        categoryStrings.setTarget(targetCategory);
        for(XLocalizedString title: sourceCategory.getTitles()){
            LocalizationUtils.setValue(categoryStrings, title.getValue(), title.getLang());
        }
        targetCategory.setTitles(categoryStrings);
       
View Full Code Here

TOP

Related Classes of org.zeroexchange.model.i18n.CategoryStrings

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.