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 |
---|---|
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.
|
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, toUnescapedModel, toXmlString
finalize, getClass, notify, notifyAll, wait, wait, wait
clone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlString
public 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 long getCompanyId()
getCompanyId
in interface DDMFieldModel
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
public long getCtCollectionId()
getCtCollectionId
in interface DDMFieldModel
getCtCollectionId
in interface com.liferay.portal.kernel.model.change.tracking.CTModel<DDMField>
public long getFieldId()
getFieldId
in interface DDMFieldModel
public java.lang.String getFieldName()
getFieldName
in interface DDMFieldModel
public java.lang.String getFieldType()
getFieldType
in interface DDMFieldModel
public java.lang.String getInstanceId()
getInstanceId
in interface DDMFieldModel
public boolean getLocalizable()
getLocalizable
in interface DDMFieldModel
public long getMvccVersion()
getMvccVersion
in interface DDMFieldModel
getMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
public long getParentFieldId()
getParentFieldId
in interface DDMFieldModel
public long getPrimaryKey()
getPrimaryKey
in interface DDMFieldModel
getPrimaryKey
in interface com.liferay.portal.kernel.model.change.tracking.CTModel<DDMField>
public int getPriority()
getPriority
in interface DDMFieldModel
public long getStorageId()
getStorageId
in interface DDMFieldModel
public long getStructureVersionId()
getStructureVersionId
in interface DDMFieldModel
public boolean isLocalizable()
true
if this ddm field is localizable.isLocalizable
in interface DDMFieldModel
true
if this ddm field is localizable; false
otherwisepublic void persist()
persist
in interface com.liferay.portal.kernel.model.PersistedModel
public void setCompanyId(long companyId)
setCompanyId
in interface DDMFieldModel
setCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
companyId
- the company ID of this ddm fieldpublic void setCtCollectionId(long ctCollectionId)
setCtCollectionId
in interface DDMFieldModel
setCtCollectionId
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 DDMFieldModel
fieldId
- the field ID of this ddm fieldpublic void setFieldName(java.lang.String fieldName)
setFieldName
in interface DDMFieldModel
fieldName
- the field name of this ddm fieldpublic void setFieldType(java.lang.String fieldType)
setFieldType
in interface DDMFieldModel
fieldType
- the field type of this ddm fieldpublic void setInstanceId(java.lang.String instanceId)
setInstanceId
in interface DDMFieldModel
instanceId
- the instance ID of this ddm fieldpublic void setLocalizable(boolean localizable)
setLocalizable
in interface DDMFieldModel
localizable
- the localizable of this ddm fieldpublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface DDMFieldModel
setMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
mvccVersion
- the mvcc version of this ddm fieldpublic void setParentFieldId(long parentFieldId)
setParentFieldId
in interface DDMFieldModel
parentFieldId
- the parent field ID of this ddm fieldpublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface DDMFieldModel
setPrimaryKey
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 DDMFieldModel
priority
- the priority of this ddm fieldpublic void setStorageId(long storageId)
setStorageId
in interface DDMFieldModel
storageId
- the storage ID of this ddm fieldpublic void setStructureVersionId(long structureVersionId)
setStructureVersionId
in interface DDMFieldModel
structureVersionId
- the structure version ID of this ddm fieldpublic 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>