public class DDMFieldWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<DDMField> implements DDMField, com.liferay.portal.kernel.model.ModelWrapper<DDMField>
This class is a wrapper for DDMField.
DDMField,
Serialized FormFIELD_ID_ACCESSOR| Constructor and Description |
|---|
DDMFieldWrapper(DDMField ddmField) |
| Modifier and Type | Method and Description |
|---|---|
DDMField |
cloneWithOriginalValues() |
java.util.Map<java.lang.String,java.util.function.Function<DDMField,java.lang.Object>> |
getAttributeGetterFunctions() |
java.util.Map<java.lang.String,java.util.function.BiConsumer<DDMField,java.lang.Object>> |
getAttributeSetterBiConsumers() |
long |
getCompanyId()
Returns the company ID of this ddm field.
|
long |
getCtCollectionId()
Returns the ct collection ID of this ddm field.
|
long |
getFieldId()
Returns the field ID of this ddm field.
|
java.lang.String |
getFieldName()
Returns the field name of this ddm field.
|
java.lang.String |
getFieldType()
Returns the field type of this ddm field.
|
java.lang.String |
getInstanceId()
Returns the instance ID of this ddm field.
|
boolean |
getLocalizable()
Returns the localizable of this ddm field.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
long |
getMvccVersion()
Returns the mvcc version of this ddm field.
|
long |
getParentFieldId()
Returns the parent field ID of this ddm field.
|
long |
getPrimaryKey()
Returns the primary key of this ddm field.
|
int |
getPriority()
Returns the priority of this ddm field.
|
long |
getStorageId()
Returns the storage ID of this ddm field.
|
long |
getStructureVersionId()
Returns the structure version ID of this ddm field.
|
boolean |
isLocalizable()
Returns
true if this ddm field is localizable. |
void |
persist() |
void |
setCompanyId(long companyId)
Sets the company ID of this ddm field.
|
void |
setCtCollectionId(long ctCollectionId)
Sets the ct collection ID of this ddm field.
|
void |
setFieldId(long fieldId)
Sets the field ID of this ddm field.
|
void |
setFieldName(java.lang.String fieldName)
Sets the field name of this ddm field.
|
void |
setFieldType(java.lang.String fieldType)
Sets the field type of this ddm field.
|
void |
setInstanceId(java.lang.String instanceId)
Sets the instance ID of this ddm field.
|
void |
setLocalizable(boolean localizable)
Sets whether this ddm field is localizable.
|
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this ddm field.
|
void |
setParentFieldId(long parentFieldId)
Sets the parent field ID of this ddm field.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this ddm field.
|
void |
setPriority(int priority)
Sets the priority of this ddm field.
|
void |
setStorageId(long storageId)
Sets the storage ID of this ddm field.
|
void |
setStructureVersionId(long structureVersionId)
Sets the structure version ID of this ddm field.
|
java.lang.String |
toXmlString() |
protected DDMFieldWrapper |
wrap(DDMField ddmField) |
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModelfinalize, getClass, notify, notifyAll, wait, wait, waitclone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModelpublic DDMFieldWrapper(DDMField ddmField)
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<DDMField>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<DDMField>public DDMField cloneWithOriginalValues()
cloneWithOriginalValues in interface DDMFieldModelcloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<DDMField>public long getCompanyId()
getCompanyId in interface DDMFieldModelgetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelpublic long getCtCollectionId()
getCtCollectionId in interface DDMFieldModelgetCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<DDMField>public long getFieldId()
getFieldId in interface DDMFieldModelpublic java.lang.String getFieldName()
getFieldName in interface DDMFieldModelpublic java.lang.String getFieldType()
getFieldType in interface DDMFieldModelpublic java.lang.String getInstanceId()
getInstanceId in interface DDMFieldModelpublic boolean getLocalizable()
getLocalizable in interface DDMFieldModelpublic long getMvccVersion()
getMvccVersion in interface DDMFieldModelgetMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelpublic long getParentFieldId()
getParentFieldId in interface DDMFieldModelpublic long getPrimaryKey()
getPrimaryKey in interface DDMFieldModelgetPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<DDMField>public int getPriority()
getPriority in interface DDMFieldModelpublic long getStorageId()
getStorageId in interface DDMFieldModelpublic long getStructureVersionId()
getStructureVersionId in interface DDMFieldModelpublic boolean isLocalizable()
true if this ddm field is localizable.isLocalizable in interface DDMFieldModeltrue if this ddm field is localizable; false otherwisepublic void persist()
persist in interface com.liferay.portal.kernel.model.PersistedModelpublic void setCompanyId(long companyId)
setCompanyId in interface DDMFieldModelsetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelcompanyId - the company ID of this ddm fieldpublic void setCtCollectionId(long ctCollectionId)
setCtCollectionId in interface DDMFieldModelsetCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<DDMField>ctCollectionId - the ct collection ID of this ddm fieldpublic void setFieldId(long fieldId)
setFieldId in interface DDMFieldModelfieldId - the field ID of this ddm fieldpublic void setFieldName(java.lang.String fieldName)
setFieldName in interface DDMFieldModelfieldName - the field name of this ddm fieldpublic void setFieldType(java.lang.String fieldType)
setFieldType in interface DDMFieldModelfieldType - the field type of this ddm fieldpublic void setInstanceId(java.lang.String instanceId)
setInstanceId in interface DDMFieldModelinstanceId - the instance ID of this ddm fieldpublic void setLocalizable(boolean localizable)
setLocalizable in interface DDMFieldModellocalizable - the localizable of this ddm fieldpublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface DDMFieldModelsetMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelmvccVersion - the mvcc version of this ddm fieldpublic void setParentFieldId(long parentFieldId)
setParentFieldId in interface DDMFieldModelparentFieldId - the parent field ID of this ddm fieldpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface DDMFieldModelsetPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<DDMField>primaryKey - the primary key of this ddm fieldpublic void setPriority(int priority)
setPriority in interface DDMFieldModelpriority - the priority of this ddm fieldpublic void setStorageId(long storageId)
setStorageId in interface DDMFieldModelstorageId - the storage ID of this ddm fieldpublic void setStructureVersionId(long structureVersionId)
setStructureVersionId in interface DDMFieldModelstructureVersionId - the structure version ID of this ddm fieldpublic java.lang.String toXmlString()
toXmlString in interface DDMFieldModelpublic java.util.Map<java.lang.String,java.util.function.Function<DDMField,java.lang.Object>> getAttributeGetterFunctions()
getAttributeGetterFunctions in interface com.liferay.portal.kernel.model.BaseModel<DDMField>public java.util.Map<java.lang.String,java.util.function.BiConsumer<DDMField,java.lang.Object>> getAttributeSetterBiConsumers()
getAttributeSetterBiConsumers in interface com.liferay.portal.kernel.model.BaseModel<DDMField>protected DDMFieldWrapper wrap(DDMField ddmField)
wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<DDMField>