Package org.zeroexchange.model.i18n

Examples of org.zeroexchange.model.i18n.PropertyStrings


            }
            targetProperty.setPropertyType(propertyType);
            targetProperty.setDictionary(sourceProperty.getDictonary());
           
            //Setup property titles
            PropertyStrings propertyStrings = new PropertyStrings();
            propertyStrings.setTarget(targetProperty);
            for(XLocalizedString title: sourceProperty.getTitles()) {
                LocalizationUtils.setValue(propertyStrings, title.getValue(), title.getLang());
            }
            targetProperty.setTitles(propertyStrings);
            targetProperty.setContainerType(0);
View Full Code Here


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

TOP

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

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.