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