001    /**
002     * Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.dynamicdatamapping.model;
016    
017    import com.liferay.portal.model.ModelWrapper;
018    
019    import java.util.Date;
020    import java.util.HashMap;
021    import java.util.Map;
022    
023    /**
024     * <p>
025     * This class is a wrapper for {@link DDMStructure}.
026     * </p>
027     *
028     * @author    Brian Wing Shun Chan
029     * @see       DDMStructure
030     * @generated
031     */
032    public class DDMStructureWrapper implements DDMStructure,
033            ModelWrapper<DDMStructure> {
034            public DDMStructureWrapper(DDMStructure ddmStructure) {
035                    _ddmStructure = ddmStructure;
036            }
037    
038            public Class<?> getModelClass() {
039                    return DDMStructure.class;
040            }
041    
042            public String getModelClassName() {
043                    return DDMStructure.class.getName();
044            }
045    
046            public Map<String, Object> getModelAttributes() {
047                    Map<String, Object> attributes = new HashMap<String, Object>();
048    
049                    attributes.put("uuid", getUuid());
050                    attributes.put("structureId", getStructureId());
051                    attributes.put("groupId", getGroupId());
052                    attributes.put("companyId", getCompanyId());
053                    attributes.put("userId", getUserId());
054                    attributes.put("userName", getUserName());
055                    attributes.put("createDate", getCreateDate());
056                    attributes.put("modifiedDate", getModifiedDate());
057                    attributes.put("parentStructureId", getParentStructureId());
058                    attributes.put("classNameId", getClassNameId());
059                    attributes.put("structureKey", getStructureKey());
060                    attributes.put("name", getName());
061                    attributes.put("description", getDescription());
062                    attributes.put("xsd", getXsd());
063                    attributes.put("storageType", getStorageType());
064                    attributes.put("type", getType());
065    
066                    return attributes;
067            }
068    
069            public void setModelAttributes(Map<String, Object> attributes) {
070                    String uuid = (String)attributes.get("uuid");
071    
072                    if (uuid != null) {
073                            setUuid(uuid);
074                    }
075    
076                    Long structureId = (Long)attributes.get("structureId");
077    
078                    if (structureId != null) {
079                            setStructureId(structureId);
080                    }
081    
082                    Long groupId = (Long)attributes.get("groupId");
083    
084                    if (groupId != null) {
085                            setGroupId(groupId);
086                    }
087    
088                    Long companyId = (Long)attributes.get("companyId");
089    
090                    if (companyId != null) {
091                            setCompanyId(companyId);
092                    }
093    
094                    Long userId = (Long)attributes.get("userId");
095    
096                    if (userId != null) {
097                            setUserId(userId);
098                    }
099    
100                    String userName = (String)attributes.get("userName");
101    
102                    if (userName != null) {
103                            setUserName(userName);
104                    }
105    
106                    Date createDate = (Date)attributes.get("createDate");
107    
108                    if (createDate != null) {
109                            setCreateDate(createDate);
110                    }
111    
112                    Date modifiedDate = (Date)attributes.get("modifiedDate");
113    
114                    if (modifiedDate != null) {
115                            setModifiedDate(modifiedDate);
116                    }
117    
118                    Long parentStructureId = (Long)attributes.get("parentStructureId");
119    
120                    if (parentStructureId != null) {
121                            setParentStructureId(parentStructureId);
122                    }
123    
124                    Long classNameId = (Long)attributes.get("classNameId");
125    
126                    if (classNameId != null) {
127                            setClassNameId(classNameId);
128                    }
129    
130                    String structureKey = (String)attributes.get("structureKey");
131    
132                    if (structureKey != null) {
133                            setStructureKey(structureKey);
134                    }
135    
136                    String name = (String)attributes.get("name");
137    
138                    if (name != null) {
139                            setName(name);
140                    }
141    
142                    String description = (String)attributes.get("description");
143    
144                    if (description != null) {
145                            setDescription(description);
146                    }
147    
148                    String xsd = (String)attributes.get("xsd");
149    
150                    if (xsd != null) {
151                            setXsd(xsd);
152                    }
153    
154                    String storageType = (String)attributes.get("storageType");
155    
156                    if (storageType != null) {
157                            setStorageType(storageType);
158                    }
159    
160                    Integer type = (Integer)attributes.get("type");
161    
162                    if (type != null) {
163                            setType(type);
164                    }
165            }
166    
167            /**
168            * Returns the primary key of this d d m structure.
169            *
170            * @return the primary key of this d d m structure
171            */
172            public long getPrimaryKey() {
173                    return _ddmStructure.getPrimaryKey();
174            }
175    
176            /**
177            * Sets the primary key of this d d m structure.
178            *
179            * @param primaryKey the primary key of this d d m structure
180            */
181            public void setPrimaryKey(long primaryKey) {
182                    _ddmStructure.setPrimaryKey(primaryKey);
183            }
184    
185            /**
186            * Returns the uuid of this d d m structure.
187            *
188            * @return the uuid of this d d m structure
189            */
190            public java.lang.String getUuid() {
191                    return _ddmStructure.getUuid();
192            }
193    
194            /**
195            * Sets the uuid of this d d m structure.
196            *
197            * @param uuid the uuid of this d d m structure
198            */
199            public void setUuid(java.lang.String uuid) {
200                    _ddmStructure.setUuid(uuid);
201            }
202    
203            /**
204            * Returns the structure ID of this d d m structure.
205            *
206            * @return the structure ID of this d d m structure
207            */
208            public long getStructureId() {
209                    return _ddmStructure.getStructureId();
210            }
211    
212            /**
213            * Sets the structure ID of this d d m structure.
214            *
215            * @param structureId the structure ID of this d d m structure
216            */
217            public void setStructureId(long structureId) {
218                    _ddmStructure.setStructureId(structureId);
219            }
220    
221            /**
222            * Returns the group ID of this d d m structure.
223            *
224            * @return the group ID of this d d m structure
225            */
226            public long getGroupId() {
227                    return _ddmStructure.getGroupId();
228            }
229    
230            /**
231            * Sets the group ID of this d d m structure.
232            *
233            * @param groupId the group ID of this d d m structure
234            */
235            public void setGroupId(long groupId) {
236                    _ddmStructure.setGroupId(groupId);
237            }
238    
239            /**
240            * Returns the company ID of this d d m structure.
241            *
242            * @return the company ID of this d d m structure
243            */
244            public long getCompanyId() {
245                    return _ddmStructure.getCompanyId();
246            }
247    
248            /**
249            * Sets the company ID of this d d m structure.
250            *
251            * @param companyId the company ID of this d d m structure
252            */
253            public void setCompanyId(long companyId) {
254                    _ddmStructure.setCompanyId(companyId);
255            }
256    
257            /**
258            * Returns the user ID of this d d m structure.
259            *
260            * @return the user ID of this d d m structure
261            */
262            public long getUserId() {
263                    return _ddmStructure.getUserId();
264            }
265    
266            /**
267            * Sets the user ID of this d d m structure.
268            *
269            * @param userId the user ID of this d d m structure
270            */
271            public void setUserId(long userId) {
272                    _ddmStructure.setUserId(userId);
273            }
274    
275            /**
276            * Returns the user uuid of this d d m structure.
277            *
278            * @return the user uuid of this d d m structure
279            * @throws SystemException if a system exception occurred
280            */
281            public java.lang.String getUserUuid()
282                    throws com.liferay.portal.kernel.exception.SystemException {
283                    return _ddmStructure.getUserUuid();
284            }
285    
286            /**
287            * Sets the user uuid of this d d m structure.
288            *
289            * @param userUuid the user uuid of this d d m structure
290            */
291            public void setUserUuid(java.lang.String userUuid) {
292                    _ddmStructure.setUserUuid(userUuid);
293            }
294    
295            /**
296            * Returns the user name of this d d m structure.
297            *
298            * @return the user name of this d d m structure
299            */
300            public java.lang.String getUserName() {
301                    return _ddmStructure.getUserName();
302            }
303    
304            /**
305            * Sets the user name of this d d m structure.
306            *
307            * @param userName the user name of this d d m structure
308            */
309            public void setUserName(java.lang.String userName) {
310                    _ddmStructure.setUserName(userName);
311            }
312    
313            /**
314            * Returns the create date of this d d m structure.
315            *
316            * @return the create date of this d d m structure
317            */
318            public java.util.Date getCreateDate() {
319                    return _ddmStructure.getCreateDate();
320            }
321    
322            /**
323            * Sets the create date of this d d m structure.
324            *
325            * @param createDate the create date of this d d m structure
326            */
327            public void setCreateDate(java.util.Date createDate) {
328                    _ddmStructure.setCreateDate(createDate);
329            }
330    
331            /**
332            * Returns the modified date of this d d m structure.
333            *
334            * @return the modified date of this d d m structure
335            */
336            public java.util.Date getModifiedDate() {
337                    return _ddmStructure.getModifiedDate();
338            }
339    
340            /**
341            * Sets the modified date of this d d m structure.
342            *
343            * @param modifiedDate the modified date of this d d m structure
344            */
345            public void setModifiedDate(java.util.Date modifiedDate) {
346                    _ddmStructure.setModifiedDate(modifiedDate);
347            }
348    
349            /**
350            * Returns the parent structure ID of this d d m structure.
351            *
352            * @return the parent structure ID of this d d m structure
353            */
354            public long getParentStructureId() {
355                    return _ddmStructure.getParentStructureId();
356            }
357    
358            /**
359            * Sets the parent structure ID of this d d m structure.
360            *
361            * @param parentStructureId the parent structure ID of this d d m structure
362            */
363            public void setParentStructureId(long parentStructureId) {
364                    _ddmStructure.setParentStructureId(parentStructureId);
365            }
366    
367            /**
368            * Returns the fully qualified class name of this d d m structure.
369            *
370            * @return the fully qualified class name of this d d m structure
371            */
372            public java.lang.String getClassName() {
373                    return _ddmStructure.getClassName();
374            }
375    
376            public void setClassName(java.lang.String className) {
377                    _ddmStructure.setClassName(className);
378            }
379    
380            /**
381            * Returns the class name ID of this d d m structure.
382            *
383            * @return the class name ID of this d d m structure
384            */
385            public long getClassNameId() {
386                    return _ddmStructure.getClassNameId();
387            }
388    
389            /**
390            * Sets the class name ID of this d d m structure.
391            *
392            * @param classNameId the class name ID of this d d m structure
393            */
394            public void setClassNameId(long classNameId) {
395                    _ddmStructure.setClassNameId(classNameId);
396            }
397    
398            /**
399            * Returns the structure key of this d d m structure.
400            *
401            * @return the structure key of this d d m structure
402            */
403            public java.lang.String getStructureKey() {
404                    return _ddmStructure.getStructureKey();
405            }
406    
407            /**
408            * Sets the structure key of this d d m structure.
409            *
410            * @param structureKey the structure key of this d d m structure
411            */
412            public void setStructureKey(java.lang.String structureKey) {
413                    _ddmStructure.setStructureKey(structureKey);
414            }
415    
416            /**
417            * Returns the name of this d d m structure.
418            *
419            * @return the name of this d d m structure
420            */
421            public java.lang.String getName() {
422                    return _ddmStructure.getName();
423            }
424    
425            /**
426            * Returns the localized name of this d d m structure in the language. Uses the default language if no localization exists for the requested language.
427            *
428            * @param locale the locale of the language
429            * @return the localized name of this d d m structure
430            */
431            public java.lang.String getName(java.util.Locale locale) {
432                    return _ddmStructure.getName(locale);
433            }
434    
435            /**
436            * Returns the localized name of this d d m structure in the language, optionally using the default language if no localization exists for the requested language.
437            *
438            * @param locale the local of the language
439            * @param useDefault whether to use the default language if no localization exists for the requested language
440            * @return the localized name of this d d m structure. If <code>useDefault</code> is <code>false</code> and no localization exists for the requested language, an empty string will be returned.
441            */
442            public java.lang.String getName(java.util.Locale locale, boolean useDefault) {
443                    return _ddmStructure.getName(locale, useDefault);
444            }
445    
446            /**
447            * Returns the localized name of this d d m structure in the language. Uses the default language if no localization exists for the requested language.
448            *
449            * @param languageId the ID of the language
450            * @return the localized name of this d d m structure
451            */
452            public java.lang.String getName(java.lang.String languageId) {
453                    return _ddmStructure.getName(languageId);
454            }
455    
456            /**
457            * Returns the localized name of this d d m structure in the language, optionally using the default language if no localization exists for the requested language.
458            *
459            * @param languageId the ID of the language
460            * @param useDefault whether to use the default language if no localization exists for the requested language
461            * @return the localized name of this d d m structure
462            */
463            public java.lang.String getName(java.lang.String languageId,
464                    boolean useDefault) {
465                    return _ddmStructure.getName(languageId, useDefault);
466            }
467    
468            public java.lang.String getNameCurrentLanguageId() {
469                    return _ddmStructure.getNameCurrentLanguageId();
470            }
471    
472            public java.lang.String getNameCurrentValue() {
473                    return _ddmStructure.getNameCurrentValue();
474            }
475    
476            /**
477            * Returns a map of the locales and localized names of this d d m structure.
478            *
479            * @return the locales and localized names of this d d m structure
480            */
481            public java.util.Map<java.util.Locale, java.lang.String> getNameMap() {
482                    return _ddmStructure.getNameMap();
483            }
484    
485            /**
486            * Sets the name of this d d m structure.
487            *
488            * @param name the name of this d d m structure
489            */
490            public void setName(java.lang.String name) {
491                    _ddmStructure.setName(name);
492            }
493    
494            /**
495            * Sets the localized name of this d d m structure in the language.
496            *
497            * @param name the localized name of this d d m structure
498            * @param locale the locale of the language
499            */
500            public void setName(java.lang.String name, java.util.Locale locale) {
501                    _ddmStructure.setName(name, locale);
502            }
503    
504            /**
505            * Sets the localized name of this d d m structure in the language, and sets the default locale.
506            *
507            * @param name the localized name of this d d m structure
508            * @param locale the locale of the language
509            * @param defaultLocale the default locale
510            */
511            public void setName(java.lang.String name, java.util.Locale locale,
512                    java.util.Locale defaultLocale) {
513                    _ddmStructure.setName(name, locale, defaultLocale);
514            }
515    
516            public void setNameCurrentLanguageId(java.lang.String languageId) {
517                    _ddmStructure.setNameCurrentLanguageId(languageId);
518            }
519    
520            /**
521            * Sets the localized names of this d d m structure from the map of locales and localized names.
522            *
523            * @param nameMap the locales and localized names of this d d m structure
524            */
525            public void setNameMap(
526                    java.util.Map<java.util.Locale, java.lang.String> nameMap) {
527                    _ddmStructure.setNameMap(nameMap);
528            }
529    
530            /**
531            * Sets the localized names of this d d m structure from the map of locales and localized names, and sets the default locale.
532            *
533            * @param nameMap the locales and localized names of this d d m structure
534            * @param defaultLocale the default locale
535            */
536            public void setNameMap(
537                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
538                    java.util.Locale defaultLocale) {
539                    _ddmStructure.setNameMap(nameMap, defaultLocale);
540            }
541    
542            /**
543            * Returns the description of this d d m structure.
544            *
545            * @return the description of this d d m structure
546            */
547            public java.lang.String getDescription() {
548                    return _ddmStructure.getDescription();
549            }
550    
551            /**
552            * Returns the localized description of this d d m structure in the language. Uses the default language if no localization exists for the requested language.
553            *
554            * @param locale the locale of the language
555            * @return the localized description of this d d m structure
556            */
557            public java.lang.String getDescription(java.util.Locale locale) {
558                    return _ddmStructure.getDescription(locale);
559            }
560    
561            /**
562            * Returns the localized description of this d d m structure in the language, optionally using the default language if no localization exists for the requested language.
563            *
564            * @param locale the local of the language
565            * @param useDefault whether to use the default language if no localization exists for the requested language
566            * @return the localized description of this d d m structure. If <code>useDefault</code> is <code>false</code> and no localization exists for the requested language, an empty string will be returned.
567            */
568            public java.lang.String getDescription(java.util.Locale locale,
569                    boolean useDefault) {
570                    return _ddmStructure.getDescription(locale, useDefault);
571            }
572    
573            /**
574            * Returns the localized description of this d d m structure in the language. Uses the default language if no localization exists for the requested language.
575            *
576            * @param languageId the ID of the language
577            * @return the localized description of this d d m structure
578            */
579            public java.lang.String getDescription(java.lang.String languageId) {
580                    return _ddmStructure.getDescription(languageId);
581            }
582    
583            /**
584            * Returns the localized description of this d d m structure in the language, optionally using the default language if no localization exists for the requested language.
585            *
586            * @param languageId the ID of the language
587            * @param useDefault whether to use the default language if no localization exists for the requested language
588            * @return the localized description of this d d m structure
589            */
590            public java.lang.String getDescription(java.lang.String languageId,
591                    boolean useDefault) {
592                    return _ddmStructure.getDescription(languageId, useDefault);
593            }
594    
595            public java.lang.String getDescriptionCurrentLanguageId() {
596                    return _ddmStructure.getDescriptionCurrentLanguageId();
597            }
598    
599            public java.lang.String getDescriptionCurrentValue() {
600                    return _ddmStructure.getDescriptionCurrentValue();
601            }
602    
603            /**
604            * Returns a map of the locales and localized descriptions of this d d m structure.
605            *
606            * @return the locales and localized descriptions of this d d m structure
607            */
608            public java.util.Map<java.util.Locale, java.lang.String> getDescriptionMap() {
609                    return _ddmStructure.getDescriptionMap();
610            }
611    
612            /**
613            * Sets the description of this d d m structure.
614            *
615            * @param description the description of this d d m structure
616            */
617            public void setDescription(java.lang.String description) {
618                    _ddmStructure.setDescription(description);
619            }
620    
621            /**
622            * Sets the localized description of this d d m structure in the language.
623            *
624            * @param description the localized description of this d d m structure
625            * @param locale the locale of the language
626            */
627            public void setDescription(java.lang.String description,
628                    java.util.Locale locale) {
629                    _ddmStructure.setDescription(description, locale);
630            }
631    
632            /**
633            * Sets the localized description of this d d m structure in the language, and sets the default locale.
634            *
635            * @param description the localized description of this d d m structure
636            * @param locale the locale of the language
637            * @param defaultLocale the default locale
638            */
639            public void setDescription(java.lang.String description,
640                    java.util.Locale locale, java.util.Locale defaultLocale) {
641                    _ddmStructure.setDescription(description, locale, defaultLocale);
642            }
643    
644            public void setDescriptionCurrentLanguageId(java.lang.String languageId) {
645                    _ddmStructure.setDescriptionCurrentLanguageId(languageId);
646            }
647    
648            /**
649            * Sets the localized descriptions of this d d m structure from the map of locales and localized descriptions.
650            *
651            * @param descriptionMap the locales and localized descriptions of this d d m structure
652            */
653            public void setDescriptionMap(
654                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap) {
655                    _ddmStructure.setDescriptionMap(descriptionMap);
656            }
657    
658            /**
659            * Sets the localized descriptions of this d d m structure from the map of locales and localized descriptions, and sets the default locale.
660            *
661            * @param descriptionMap the locales and localized descriptions of this d d m structure
662            * @param defaultLocale the default locale
663            */
664            public void setDescriptionMap(
665                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
666                    java.util.Locale defaultLocale) {
667                    _ddmStructure.setDescriptionMap(descriptionMap, defaultLocale);
668            }
669    
670            /**
671            * Returns the xsd of this d d m structure.
672            *
673            * @return the xsd of this d d m structure
674            */
675            public java.lang.String getXsd() {
676                    return _ddmStructure.getXsd();
677            }
678    
679            /**
680            * Sets the xsd of this d d m structure.
681            *
682            * @param xsd the xsd of this d d m structure
683            */
684            public void setXsd(java.lang.String xsd) {
685                    _ddmStructure.setXsd(xsd);
686            }
687    
688            /**
689            * Returns the storage type of this d d m structure.
690            *
691            * @return the storage type of this d d m structure
692            */
693            public java.lang.String getStorageType() {
694                    return _ddmStructure.getStorageType();
695            }
696    
697            /**
698            * Sets the storage type of this d d m structure.
699            *
700            * @param storageType the storage type of this d d m structure
701            */
702            public void setStorageType(java.lang.String storageType) {
703                    _ddmStructure.setStorageType(storageType);
704            }
705    
706            /**
707            * Returns the type of this d d m structure.
708            *
709            * @return the type of this d d m structure
710            */
711            public int getType() {
712                    return _ddmStructure.getType();
713            }
714    
715            /**
716            * Sets the type of this d d m structure.
717            *
718            * @param type the type of this d d m structure
719            */
720            public void setType(int type) {
721                    _ddmStructure.setType(type);
722            }
723    
724            public boolean isNew() {
725                    return _ddmStructure.isNew();
726            }
727    
728            public void setNew(boolean n) {
729                    _ddmStructure.setNew(n);
730            }
731    
732            public boolean isCachedModel() {
733                    return _ddmStructure.isCachedModel();
734            }
735    
736            public void setCachedModel(boolean cachedModel) {
737                    _ddmStructure.setCachedModel(cachedModel);
738            }
739    
740            public boolean isEscapedModel() {
741                    return _ddmStructure.isEscapedModel();
742            }
743    
744            public java.io.Serializable getPrimaryKeyObj() {
745                    return _ddmStructure.getPrimaryKeyObj();
746            }
747    
748            public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
749                    _ddmStructure.setPrimaryKeyObj(primaryKeyObj);
750            }
751    
752            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
753                    return _ddmStructure.getExpandoBridge();
754            }
755    
756            public void setExpandoBridgeAttributes(
757                    com.liferay.portal.service.ServiceContext serviceContext) {
758                    _ddmStructure.setExpandoBridgeAttributes(serviceContext);
759            }
760    
761            public void prepareLocalizedFieldsForImport(
762                    java.util.Locale defaultImportLocale)
763                    throws com.liferay.portal.LocaleException {
764                    _ddmStructure.prepareLocalizedFieldsForImport(defaultImportLocale);
765            }
766    
767            @Override
768            public java.lang.Object clone() {
769                    return new DDMStructureWrapper((DDMStructure)_ddmStructure.clone());
770            }
771    
772            public int compareTo(
773                    com.liferay.portlet.dynamicdatamapping.model.DDMStructure ddmStructure) {
774                    return _ddmStructure.compareTo(ddmStructure);
775            }
776    
777            @Override
778            public int hashCode() {
779                    return _ddmStructure.hashCode();
780            }
781    
782            public com.liferay.portal.model.CacheModel<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> toCacheModel() {
783                    return _ddmStructure.toCacheModel();
784            }
785    
786            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure toEscapedModel() {
787                    return new DDMStructureWrapper(_ddmStructure.toEscapedModel());
788            }
789    
790            @Override
791            public java.lang.String toString() {
792                    return _ddmStructure.toString();
793            }
794    
795            public java.lang.String toXmlString() {
796                    return _ddmStructure.toXmlString();
797            }
798    
799            public void persist()
800                    throws com.liferay.portal.kernel.exception.SystemException {
801                    _ddmStructure.persist();
802            }
803    
804            public java.util.List<java.lang.String> getAvailableLanguageIds() {
805                    return _ddmStructure.getAvailableLanguageIds();
806            }
807    
808            public java.lang.String getCompleteXsd()
809                    throws com.liferay.portal.kernel.exception.PortalException,
810                            com.liferay.portal.kernel.exception.SystemException {
811                    return _ddmStructure.getCompleteXsd();
812            }
813    
814            public java.lang.String getDefaultLanguageId() {
815                    return _ddmStructure.getDefaultLanguageId();
816            }
817    
818            public com.liferay.portal.kernel.xml.Document getDocument() {
819                    return _ddmStructure.getDocument();
820            }
821    
822            public java.lang.String getFieldDataType(java.lang.String fieldName)
823                    throws com.liferay.portal.kernel.exception.PortalException,
824                            com.liferay.portal.kernel.exception.SystemException {
825                    return _ddmStructure.getFieldDataType(fieldName);
826            }
827    
828            public java.lang.String getFieldLabel(java.lang.String fieldName,
829                    java.util.Locale locale)
830                    throws com.liferay.portal.kernel.exception.PortalException,
831                            com.liferay.portal.kernel.exception.SystemException {
832                    return _ddmStructure.getFieldLabel(fieldName, locale);
833            }
834    
835            public java.lang.String getFieldLabel(java.lang.String fieldName,
836                    java.lang.String locale)
837                    throws com.liferay.portal.kernel.exception.PortalException,
838                            com.liferay.portal.kernel.exception.SystemException {
839                    return _ddmStructure.getFieldLabel(fieldName, locale);
840            }
841    
842            public java.util.Set<java.lang.String> getFieldNames()
843                    throws com.liferay.portal.kernel.exception.PortalException,
844                            com.liferay.portal.kernel.exception.SystemException {
845                    return _ddmStructure.getFieldNames();
846            }
847    
848            public java.lang.String getFieldProperty(java.lang.String fieldName,
849                    java.lang.String property)
850                    throws com.liferay.portal.kernel.exception.PortalException,
851                            com.liferay.portal.kernel.exception.SystemException {
852                    return _ddmStructure.getFieldProperty(fieldName, property);
853            }
854    
855            public java.lang.String getFieldProperty(java.lang.String fieldName,
856                    java.lang.String property, java.lang.String locale)
857                    throws com.liferay.portal.kernel.exception.PortalException,
858                            com.liferay.portal.kernel.exception.SystemException {
859                    return _ddmStructure.getFieldProperty(fieldName, property, locale);
860            }
861    
862            public boolean getFieldRequired(java.lang.String fieldName)
863                    throws com.liferay.portal.kernel.exception.PortalException,
864                            com.liferay.portal.kernel.exception.SystemException {
865                    return _ddmStructure.getFieldRequired(fieldName);
866            }
867    
868            public java.util.Map<java.lang.String, java.lang.String> getFields(
869                    java.lang.String fieldName, java.lang.String attributeName,
870                    java.lang.String attributeValue) {
871                    return _ddmStructure.getFields(fieldName, attributeName, attributeValue);
872            }
873    
874            public java.util.Map<java.lang.String, java.lang.String> getFields(
875                    java.lang.String fieldName, java.lang.String attributeName,
876                    java.lang.String attributeValue, java.lang.String locale) {
877                    return _ddmStructure.getFields(fieldName, attributeName,
878                            attributeValue, locale);
879            }
880    
881            public java.util.Map<java.lang.String, java.util.Map<java.lang.String, java.lang.String>> getFieldsMap()
882                    throws com.liferay.portal.kernel.exception.PortalException,
883                            com.liferay.portal.kernel.exception.SystemException {
884                    return _ddmStructure.getFieldsMap();
885            }
886    
887            public java.util.Map<java.lang.String, java.util.Map<java.lang.String, java.lang.String>> getFieldsMap(
888                    java.lang.String locale)
889                    throws com.liferay.portal.kernel.exception.PortalException,
890                            com.liferay.portal.kernel.exception.SystemException {
891                    return _ddmStructure.getFieldsMap(locale);
892            }
893    
894            public java.lang.String getFieldType(java.lang.String fieldName)
895                    throws com.liferay.portal.kernel.exception.PortalException,
896                            com.liferay.portal.kernel.exception.SystemException {
897                    return _ddmStructure.getFieldType(fieldName);
898            }
899    
900            public java.util.Map<java.lang.String, java.util.Map<java.lang.String, java.util.Map<java.lang.String, java.lang.String>>> getLocalizedFieldsMap() {
901                    return _ddmStructure.getLocalizedFieldsMap();
902            }
903    
904            public java.util.Map<java.lang.String, java.util.Map<java.lang.String, java.util.Map<java.lang.String, java.lang.String>>> getLocalizedTransientFieldsMap() {
905                    return _ddmStructure.getLocalizedTransientFieldsMap();
906            }
907    
908            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> getTemplates()
909                    throws com.liferay.portal.kernel.exception.SystemException {
910                    return _ddmStructure.getTemplates();
911            }
912    
913            public java.util.Map<java.lang.String, java.util.Map<java.lang.String, java.lang.String>> getTransientFieldsMap(
914                    java.lang.String locale)
915                    throws com.liferay.portal.kernel.exception.PortalException,
916                            com.liferay.portal.kernel.exception.SystemException {
917                    return _ddmStructure.getTransientFieldsMap(locale);
918            }
919    
920            public boolean hasField(java.lang.String fieldName)
921                    throws com.liferay.portal.kernel.exception.PortalException,
922                            com.liferay.portal.kernel.exception.SystemException {
923                    return _ddmStructure.hasField(fieldName);
924            }
925    
926            public void setDocument(com.liferay.portal.kernel.xml.Document document) {
927                    _ddmStructure.setDocument(document);
928            }
929    
930            public void setLocalizedFieldsMap(
931                    java.util.Map<java.lang.String, java.util.Map<java.lang.String, java.util.Map<java.lang.String, java.lang.String>>> localizedFieldsMap) {
932                    _ddmStructure.setLocalizedFieldsMap(localizedFieldsMap);
933            }
934    
935            public void setLocalizedTransientFieldsMap(
936                    java.util.Map<java.lang.String, java.util.Map<java.lang.String, java.util.Map<java.lang.String, java.lang.String>>> localizedTransientFieldsMap) {
937                    _ddmStructure.setLocalizedTransientFieldsMap(localizedTransientFieldsMap);
938            }
939    
940            /**
941             * @deprecated Renamed to {@link #getWrappedModel}
942             */
943            public DDMStructure getWrappedDDMStructure() {
944                    return _ddmStructure;
945            }
946    
947            public DDMStructure getWrappedModel() {
948                    return _ddmStructure;
949            }
950    
951            public void resetOriginalValues() {
952                    _ddmStructure.resetOriginalValues();
953            }
954    
955            private DDMStructure _ddmStructure;
956    }