Package com.liferay.object.model
Class ObjectFieldWrapper
java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<ObjectField>
com.liferay.object.model.ObjectFieldWrapper
- All Implemented Interfaces:
ObjectField
,ObjectFieldModel
,com.liferay.portal.kernel.model.AuditedModel
,com.liferay.portal.kernel.model.BaseModel<ObjectField>
,com.liferay.portal.kernel.model.ClassedModel
,com.liferay.portal.kernel.model.ExternalReferenceCodeModel
,com.liferay.portal.kernel.model.LocalizedModel
,com.liferay.portal.kernel.model.ModelWrapper<ObjectField>
,com.liferay.portal.kernel.model.MVCCModel
,com.liferay.portal.kernel.model.PersistedModel
,com.liferay.portal.kernel.model.ShardedModel
,com.liferay.portal.kernel.model.StagedAuditedModel
,com.liferay.portal.kernel.model.StagedModel
,Serializable
,Cloneable
,Comparable<ObjectField>
public class ObjectFieldWrapper
extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<ObjectField>
implements com.liferay.portal.kernel.model.ModelWrapper<ObjectField>, ObjectField
This class is a wrapper for ObjectField
.
- See Also:
- Generated:
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
model
Fields inherited from interface com.liferay.object.model.ObjectField
OBJECT_FIELD_ID_ACCESSOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
compareBusinessType
(String businessType) String[]
Returns the business type of this object field.long
Returns the company ID of this object field.Returns the create date of this object field.Returns the db column name of this object field.Returns the db table name of this object field.Returns the db type of this object field.Returns the external reference code of this object field.boolean
Returns the indexed of this object field.boolean
Returns the indexed as keyword of this object field.Returns the indexed language ID of this object field.getLabel()
Returns the label of this object field.Returns the localized label of this object field in the language.Returns the localized label of this object field in the language, optionally using the default language if no localization exists for the requested language.Returns the localized label of this object field in the language.Returns the localized label of this object field in the language, optionally using the default language if no localization exists for the requested language.Returns a map of the locales and localized labels of this object field.long
Returns the list type definition ID of this object field.boolean
Returns the localized of this object field.Returns the modified date of this object field.long
Returns the mvcc version of this object field.getName()
Returns the name of this object field.long
Returns the object definition ID of this object field.long
Returns the object field ID of this object field.long
Returns the primary key of this object field.Returns the read only of this object field.Returns the read only condition expression of this object field.Returns the relationship type of this object field.boolean
Returns the required of this object field.com.liferay.exportimport.kernel.lar.StagedModelType
boolean
getState()
Returns the state of this object field.boolean
Returns the system of this object field.long
Returns the user ID of this object field.Returns the user name of this object field.Returns the user uuid of this object field.getUuid()
Returns the uuid of this object field.boolean
boolean
boolean
boolean
boolean
Returnstrue
if this object field is indexed.boolean
Returnstrue
if this object field is indexed as keyword.boolean
Returnstrue
if this object field is localized.boolean
boolean
Returnstrue
if this object field is required.boolean
isState()
Returnstrue
if this object field is state.boolean
isSystem()
Returnstrue
if this object field is system.void
persist()
void
void
prepareLocalizedFieldsForImport
(Locale defaultImportLocale) void
setBusinessType
(String businessType) Sets the business type of this object field.void
setCompanyId
(long companyId) Sets the company ID of this object field.void
setCreateDate
(Date createDate) Sets the create date of this object field.void
setDBColumnName
(String dbColumnName) Sets the db column name of this object field.void
setDBTableName
(String dbTableName) Sets the db table name of this object field.void
Sets the db type of this object field.void
setExternalReferenceCode
(String externalReferenceCode) Sets the external reference code of this object field.void
setIndexed
(boolean indexed) Sets whether this object field is indexed.void
setIndexedAsKeyword
(boolean indexedAsKeyword) Sets whether this object field is indexed as keyword.void
setIndexedLanguageId
(String indexedLanguageId) Sets the indexed language ID of this object field.void
Sets the label of this object field.void
Sets the localized label of this object field in the language.void
Sets the localized label of this object field in the language, and sets the default locale.void
setLabelCurrentLanguageId
(String languageId) void
setLabelMap
(Map<Locale, String> labelMap) Sets the localized labels of this object field from the map of locales and localized labels.void
setLabelMap
(Map<Locale, String> labelMap, Locale defaultLocale) Sets the localized labels of this object field from the map of locales and localized labels, and sets the default locale.void
setListTypeDefinitionId
(long listTypeDefinitionId) Sets the list type definition ID of this object field.void
setLocalized
(boolean localized) Sets whether this object field is localized.void
setModelAttributes
(Map<String, Object> attributes) void
setModifiedDate
(Date modifiedDate) Sets the modified date of this object field.void
setMvccVersion
(long mvccVersion) Sets the mvcc version of this object field.void
Sets the name of this object field.void
setObjectDefinitionId
(long objectDefinitionId) Sets the object definition ID of this object field.void
setObjectFieldId
(long objectFieldId) Sets the object field ID of this object field.void
setObjectFieldSettings
(List<ObjectFieldSetting> objectFieldSettings) void
setPrimaryKey
(long primaryKey) Sets the primary key of this object field.void
setReadOnly
(String readOnly) Sets the read only of this object field.void
setReadOnlyConditionExpression
(String readOnlyConditionExpression) Sets the read only condition expression of this object field.void
setRelationshipType
(String relationshipType) Sets the relationship type of this object field.void
setRequired
(boolean required) Sets whether this object field is required.void
setState
(boolean state) Sets whether this object field is state.void
setSystem
(boolean system) Sets whether this object field is system.void
setUserId
(long userId) Sets the user ID of this object field.void
setUserName
(String userName) Sets the user name of this object field.void
setUserUuid
(String userUuid) Sets the user uuid of this object field.void
Sets the uuid of this object field.protected ObjectFieldWrapper
wrap
(ObjectField objectField) Methods inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
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
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassName
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModel
Methods inherited from interface com.liferay.portal.kernel.model.StagedModel
clone
-
Constructor Details
-
ObjectFieldWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<ObjectField>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<ObjectField>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfacecom.liferay.portal.kernel.model.BaseModel<ObjectField>
- Specified by:
cloneWithOriginalValues
in interfaceObjectFieldModel
-
compareBusinessType
- Specified by:
compareBusinessType
in interfaceObjectField
-
getAvailableLanguageIds
- Specified by:
getAvailableLanguageIds
in interfacecom.liferay.portal.kernel.model.LocalizedModel
- Specified by:
getAvailableLanguageIds
in interfaceObjectFieldModel
-
getBusinessType
Returns the business type of this object field.- Specified by:
getBusinessType
in interfaceObjectFieldModel
- Returns:
- the business type of this object field
-
getCompanyId
public long getCompanyId()Returns the company ID of this object field.- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCompanyId
in interfaceObjectFieldModel
- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the company ID of this object field
-
getCreateDate
Returns the create date of this object field.- Specified by:
getCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCreateDate
in interfaceObjectFieldModel
- Specified by:
getCreateDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the create date of this object field
-
getDBColumnName
Returns the db column name of this object field.- Specified by:
getDBColumnName
in interfaceObjectFieldModel
- Returns:
- the db column name of this object field
-
getDBTableName
Returns the db table name of this object field.- Specified by:
getDBTableName
in interfaceObjectFieldModel
- Returns:
- the db table name of this object field
-
getDBType
Returns the db type of this object field.- Specified by:
getDBType
in interfaceObjectFieldModel
- Returns:
- the db type of this object field
-
getDefaultLanguageId
- Specified by:
getDefaultLanguageId
in interfacecom.liferay.portal.kernel.model.LocalizedModel
- Specified by:
getDefaultLanguageId
in interfaceObjectFieldModel
-
getExternalReferenceCode
Returns the external reference code of this object field.- Specified by:
getExternalReferenceCode
in interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel
- Specified by:
getExternalReferenceCode
in interfaceObjectFieldModel
- Returns:
- the external reference code of this object field
-
getI18nObjectFieldName
- Specified by:
getI18nObjectFieldName
in interfaceObjectField
-
getIndexed
public boolean getIndexed()Returns the indexed of this object field.- Specified by:
getIndexed
in interfaceObjectFieldModel
- Returns:
- the indexed of this object field
-
getIndexedAsKeyword
public boolean getIndexedAsKeyword()Returns the indexed as keyword of this object field.- Specified by:
getIndexedAsKeyword
in interfaceObjectFieldModel
- Returns:
- the indexed as keyword of this object field
-
getIndexedLanguageId
Returns the indexed language ID of this object field.- Specified by:
getIndexedLanguageId
in interfaceObjectFieldModel
- Returns:
- the indexed language ID of this object field
-
getLabel
Returns the label of this object field.- Specified by:
getLabel
in interfaceObjectFieldModel
- Returns:
- the label of this object field
-
getLabel
Returns the localized label of this object field in the language. Uses the default language if no localization exists for the requested language.- Specified by:
getLabel
in interfaceObjectFieldModel
- Parameters:
locale
- the locale of the language- Returns:
- the localized label of this object field
-
getLabel
Returns the localized label of this object field in the language, optionally using the default language if no localization exists for the requested language.- Specified by:
getLabel
in interfaceObjectFieldModel
- Parameters:
locale
- the local of the languageuseDefault
- whether to use the default language if no localization exists for the requested language- Returns:
- the localized label of this object field. If
useDefault
isfalse
and no localization exists for the requested language, an empty string will be returned.
-
getLabel
Returns the localized label of this object field in the language. Uses the default language if no localization exists for the requested language.- Specified by:
getLabel
in interfaceObjectFieldModel
- Parameters:
languageId
- the ID of the language- Returns:
- the localized label of this object field
-
getLabel
Returns the localized label of this object field in the language, optionally using the default language if no localization exists for the requested language.- Specified by:
getLabel
in interfaceObjectFieldModel
- Parameters:
languageId
- the ID of the languageuseDefault
- whether to use the default language if no localization exists for the requested language- Returns:
- the localized label of this object field
-
getLabelCurrentLanguageId
- Specified by:
getLabelCurrentLanguageId
in interfaceObjectFieldModel
-
getLabelCurrentValue
- Specified by:
getLabelCurrentValue
in interfaceObjectFieldModel
-
getLabelMap
Returns a map of the locales and localized labels of this object field.- Specified by:
getLabelMap
in interfaceObjectFieldModel
- Returns:
- the locales and localized labels of this object field
-
getListTypeDefinitionId
public long getListTypeDefinitionId()Returns the list type definition ID of this object field.- Specified by:
getListTypeDefinitionId
in interfaceObjectFieldModel
- Returns:
- the list type definition ID of this object field
-
getLocalized
public boolean getLocalized()Returns the localized of this object field.- Specified by:
getLocalized
in interfaceObjectFieldModel
- Returns:
- the localized of this object field
-
getModifiedDate
Returns the modified date of this object field.- Specified by:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getModifiedDate
in interfaceObjectFieldModel
- Specified by:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the modified date of this object field
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this object field.- Specified by:
getMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Specified by:
getMvccVersion
in interfaceObjectFieldModel
- Returns:
- the mvcc version of this object field
-
getName
Returns the name of this object field.- Specified by:
getName
in interfaceObjectFieldModel
- Returns:
- the name of this object field
-
getObjectDefinition
public ObjectDefinition getObjectDefinition() throws com.liferay.portal.kernel.exception.PortalException- Specified by:
getObjectDefinition
in interfaceObjectField
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getObjectDefinitionId
public long getObjectDefinitionId()Returns the object definition ID of this object field.- Specified by:
getObjectDefinitionId
in interfaceObjectFieldModel
- Returns:
- the object definition ID of this object field
-
getObjectFieldId
public long getObjectFieldId()Returns the object field ID of this object field.- Specified by:
getObjectFieldId
in interfaceObjectFieldModel
- Returns:
- the object field ID of this object field
-
getObjectFieldSettings
- Specified by:
getObjectFieldSettings
in interfaceObjectField
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this object field.- Specified by:
getPrimaryKey
in interfaceObjectFieldModel
- Returns:
- the primary key of this object field
-
getReadOnly
Returns the read only of this object field.- Specified by:
getReadOnly
in interfaceObjectFieldModel
- Returns:
- the read only of this object field
-
getReadOnlyConditionExpression
Returns the read only condition expression of this object field.- Specified by:
getReadOnlyConditionExpression
in interfaceObjectFieldModel
- Returns:
- the read only condition expression of this object field
-
getRelationshipType
Returns the relationship type of this object field.- Specified by:
getRelationshipType
in interfaceObjectFieldModel
- Returns:
- the relationship type of this object field
-
getRequired
public boolean getRequired()Returns the required of this object field.- Specified by:
getRequired
in interfaceObjectFieldModel
- Returns:
- the required of this object field
-
getSortableDBColumnName
- Specified by:
getSortableDBColumnName
in interfaceObjectField
-
getState
public boolean getState()Returns the state of this object field.- Specified by:
getState
in interfaceObjectFieldModel
- Returns:
- the state of this object field
-
getSystem
public boolean getSystem()Returns the system of this object field.- Specified by:
getSystem
in interfaceObjectFieldModel
- Returns:
- the system of this object field
-
getUserId
public long getUserId()Returns the user ID of this object field.- Specified by:
getUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserId
in interfaceObjectFieldModel
- Returns:
- the user ID of this object field
-
getUserName
Returns the user name of this object field.- Specified by:
getUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserName
in interfaceObjectFieldModel
- Returns:
- the user name of this object field
-
getUserUuid
Returns the user uuid of this object field.- Specified by:
getUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserUuid
in interfaceObjectFieldModel
- Returns:
- the user uuid of this object field
-
getUuid
Returns the uuid of this object field.- Specified by:
getUuid
in interfaceObjectFieldModel
- Specified by:
getUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the uuid of this object field
-
hasInsertValues
public boolean hasInsertValues()- Specified by:
hasInsertValues
in interfaceObjectField
-
hasUniqueValues
public boolean hasUniqueValues()- Specified by:
hasUniqueValues
in interfaceObjectField
-
hasUpdateValues
public boolean hasUpdateValues()- Specified by:
hasUpdateValues
in interfaceObjectField
-
isDeletionAllowed
public boolean isDeletionAllowed() throws com.liferay.portal.kernel.exception.PortalException- Specified by:
isDeletionAllowed
in interfaceObjectField
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
isIndexed
public boolean isIndexed()Returnstrue
if this object field is indexed.- Specified by:
isIndexed
in interfaceObjectFieldModel
- Returns:
true
if this object field is indexed;false
otherwise
-
isIndexedAsKeyword
public boolean isIndexedAsKeyword()Returnstrue
if this object field is indexed as keyword.- Specified by:
isIndexedAsKeyword
in interfaceObjectFieldModel
- Returns:
true
if this object field is indexed as keyword;false
otherwise
-
isLocalized
public boolean isLocalized()Returnstrue
if this object field is localized.- Specified by:
isLocalized
in interfaceObjectFieldModel
- Returns:
true
if this object field is localized;false
otherwise
-
isMetadata
public boolean isMetadata()- Specified by:
isMetadata
in interfaceObjectField
-
isRequired
public boolean isRequired()Returnstrue
if this object field is required.- Specified by:
isRequired
in interfaceObjectFieldModel
- Returns:
true
if this object field is required;false
otherwise
-
isState
public boolean isState()Returnstrue
if this object field is state.- Specified by:
isState
in interfaceObjectFieldModel
- Returns:
true
if this object field is state;false
otherwise
-
isSystem
public boolean isSystem()Returnstrue
if this object field is system.- Specified by:
isSystem
in interfaceObjectFieldModel
- Returns:
true
if this object field is system;false
otherwise
-
persist
public void persist()- Specified by:
persist
in interfacecom.liferay.portal.kernel.model.PersistedModel
-
prepareLocalizedFieldsForImport
public void prepareLocalizedFieldsForImport() throws com.liferay.portal.kernel.exception.LocaleException- Specified by:
prepareLocalizedFieldsForImport
in interfacecom.liferay.portal.kernel.model.LocalizedModel
- Specified by:
prepareLocalizedFieldsForImport
in interfaceObjectFieldModel
- Throws:
com.liferay.portal.kernel.exception.LocaleException
-
prepareLocalizedFieldsForImport
public void prepareLocalizedFieldsForImport(Locale defaultImportLocale) throws com.liferay.portal.kernel.exception.LocaleException - Specified by:
prepareLocalizedFieldsForImport
in interfacecom.liferay.portal.kernel.model.LocalizedModel
- Specified by:
prepareLocalizedFieldsForImport
in interfaceObjectFieldModel
- Throws:
com.liferay.portal.kernel.exception.LocaleException
-
setBusinessType
Sets the business type of this object field.- Specified by:
setBusinessType
in interfaceObjectFieldModel
- Parameters:
businessType
- the business type of this object field
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this object field.- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCompanyId
in interfaceObjectFieldModel
- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
companyId
- the company ID of this object field
-
setCreateDate
Sets the create date of this object field.- Specified by:
setCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCreateDate
in interfaceObjectFieldModel
- Specified by:
setCreateDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
createDate
- the create date of this object field
-
setDBColumnName
Sets the db column name of this object field.- Specified by:
setDBColumnName
in interfaceObjectFieldModel
- Parameters:
dbColumnName
- the db column name of this object field
-
setDBTableName
Sets the db table name of this object field.- Specified by:
setDBTableName
in interfaceObjectFieldModel
- Parameters:
dbTableName
- the db table name of this object field
-
setDBType
Sets the db type of this object field.- Specified by:
setDBType
in interfaceObjectFieldModel
- Parameters:
dbType
- the db type of this object field
-
setExternalReferenceCode
Sets the external reference code of this object field.- Specified by:
setExternalReferenceCode
in interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel
- Specified by:
setExternalReferenceCode
in interfaceObjectFieldModel
- Parameters:
externalReferenceCode
- the external reference code of this object field
-
setIndexed
public void setIndexed(boolean indexed) Sets whether this object field is indexed.- Specified by:
setIndexed
in interfaceObjectFieldModel
- Parameters:
indexed
- the indexed of this object field
-
setIndexedAsKeyword
public void setIndexedAsKeyword(boolean indexedAsKeyword) Sets whether this object field is indexed as keyword.- Specified by:
setIndexedAsKeyword
in interfaceObjectFieldModel
- Parameters:
indexedAsKeyword
- the indexed as keyword of this object field
-
setIndexedLanguageId
Sets the indexed language ID of this object field.- Specified by:
setIndexedLanguageId
in interfaceObjectFieldModel
- Parameters:
indexedLanguageId
- the indexed language ID of this object field
-
setLabel
Sets the label of this object field.- Specified by:
setLabel
in interfaceObjectFieldModel
- Parameters:
label
- the label of this object field
-
setLabel
Sets the localized label of this object field in the language.- Specified by:
setLabel
in interfaceObjectFieldModel
- Parameters:
label
- the localized label of this object fieldlocale
- the locale of the language
-
setLabel
Sets the localized label of this object field in the language, and sets the default locale.- Specified by:
setLabel
in interfaceObjectFieldModel
- Parameters:
label
- the localized label of this object fieldlocale
- the locale of the languagedefaultLocale
- the default locale
-
setLabelCurrentLanguageId
- Specified by:
setLabelCurrentLanguageId
in interfaceObjectFieldModel
-
setLabelMap
Sets the localized labels of this object field from the map of locales and localized labels.- Specified by:
setLabelMap
in interfaceObjectFieldModel
- Parameters:
labelMap
- the locales and localized labels of this object field
-
setLabelMap
Sets the localized labels of this object field from the map of locales and localized labels, and sets the default locale.- Specified by:
setLabelMap
in interfaceObjectFieldModel
- Parameters:
labelMap
- the locales and localized labels of this object fielddefaultLocale
- the default locale
-
setListTypeDefinitionId
public void setListTypeDefinitionId(long listTypeDefinitionId) Sets the list type definition ID of this object field.- Specified by:
setListTypeDefinitionId
in interfaceObjectFieldModel
- Parameters:
listTypeDefinitionId
- the list type definition ID of this object field
-
setLocalized
public void setLocalized(boolean localized) Sets whether this object field is localized.- Specified by:
setLocalized
in interfaceObjectFieldModel
- Parameters:
localized
- the localized of this object field
-
setModifiedDate
Sets the modified date of this object field.- Specified by:
setModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setModifiedDate
in interfaceObjectFieldModel
- Specified by:
setModifiedDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
modifiedDate
- the modified date of this object field
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this object field.- Specified by:
setMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Specified by:
setMvccVersion
in interfaceObjectFieldModel
- Parameters:
mvccVersion
- the mvcc version of this object field
-
setName
Sets the name of this object field.- Specified by:
setName
in interfaceObjectFieldModel
- Parameters:
name
- the name of this object field
-
setObjectDefinitionId
public void setObjectDefinitionId(long objectDefinitionId) Sets the object definition ID of this object field.- Specified by:
setObjectDefinitionId
in interfaceObjectFieldModel
- Parameters:
objectDefinitionId
- the object definition ID of this object field
-
setObjectFieldId
public void setObjectFieldId(long objectFieldId) Sets the object field ID of this object field.- Specified by:
setObjectFieldId
in interfaceObjectFieldModel
- Parameters:
objectFieldId
- the object field ID of this object field
-
setObjectFieldSettings
- Specified by:
setObjectFieldSettings
in interfaceObjectField
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this object field.- Specified by:
setPrimaryKey
in interfaceObjectFieldModel
- Parameters:
primaryKey
- the primary key of this object field
-
setReadOnly
Sets the read only of this object field.- Specified by:
setReadOnly
in interfaceObjectFieldModel
- Parameters:
readOnly
- the read only of this object field
-
setReadOnlyConditionExpression
Sets the read only condition expression of this object field.- Specified by:
setReadOnlyConditionExpression
in interfaceObjectFieldModel
- Parameters:
readOnlyConditionExpression
- the read only condition expression of this object field
-
setRelationshipType
Sets the relationship type of this object field.- Specified by:
setRelationshipType
in interfaceObjectFieldModel
- Parameters:
relationshipType
- the relationship type of this object field
-
setRequired
public void setRequired(boolean required) Sets whether this object field is required.- Specified by:
setRequired
in interfaceObjectFieldModel
- Parameters:
required
- the required of this object field
-
setState
public void setState(boolean state) Sets whether this object field is state.- Specified by:
setState
in interfaceObjectFieldModel
- Parameters:
state
- the state of this object field
-
setSystem
public void setSystem(boolean system) Sets whether this object field is system.- Specified by:
setSystem
in interfaceObjectFieldModel
- Parameters:
system
- the system of this object field
-
setUserId
public void setUserId(long userId) Sets the user ID of this object field.- Specified by:
setUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserId
in interfaceObjectFieldModel
- Parameters:
userId
- the user ID of this object field
-
setUserName
Sets the user name of this object field.- Specified by:
setUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserName
in interfaceObjectFieldModel
- Parameters:
userName
- the user name of this object field
-
setUserUuid
Sets the user uuid of this object field.- Specified by:
setUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserUuid
in interfaceObjectFieldModel
- Parameters:
userUuid
- the user uuid of this object field
-
setUuid
Sets the uuid of this object field.- Specified by:
setUuid
in interfaceObjectFieldModel
- Specified by:
setUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
uuid
- the uuid of this object field
-
toXmlString
- Specified by:
toXmlString
in interfaceObjectFieldModel
-
getStagedModelType
public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()- Specified by:
getStagedModelType
in interfacecom.liferay.portal.kernel.model.StagedModel
-
wrap
- Specified by:
wrap
in classcom.liferay.portal.kernel.model.wrapper.BaseModelWrapper<ObjectField>
-