@ProviderType public class DDMStructureLinkWrapper extends java.lang.Object implements DDMStructureLink, ModelWrapper<DDMStructureLink>
This class is a wrapper for DDMStructureLink.
DDMStructureLink,
Serialized Form| Constructor and Description |
|---|
DDMStructureLinkWrapper(DDMStructureLink ddmStructureLink) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(DDMStructureLink ddmStructureLink) |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getClassName()
Returns the fully qualified class name of this d d m structure link.
|
long |
getClassNameId()
Returns the class name ID of this d d m structure link.
|
long |
getClassPK()
Returns the class p k of this d d m structure link.
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
long |
getPrimaryKey()
Returns the primary key of this d d m structure link.
|
java.io.Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance.
|
DDMStructure |
getStructure() |
long |
getStructureId()
Returns the structure ID of this d d m structure link.
|
long |
getStructureLinkId()
Returns the structure link ID of this d d m structure link.
|
DDMStructureLink |
getWrappedDDMStructureLink()
Deprecated.
As of 6.1.0, replaced by
getWrappedModel() |
DDMStructureLink |
getWrappedModel() |
int |
hashCode() |
boolean |
isCachedModel()
Returns
true if this model instance was retrieved from the
entity cache. |
boolean |
isEscapedModel()
Returns
true if this model instance is escaped. |
boolean |
isNew()
Returns
true if this model instance does not yet exist in
the database. |
void |
persist()
Updates this model instance in the database or adds it if it does not yet
exist.
|
void |
resetOriginalValues()
Reset all original fields to current values.
|
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache.
|
void |
setClassName(java.lang.String className) |
void |
setClassNameId(long classNameId)
Sets the class name ID of this d d m structure link.
|
void |
setClassPK(long classPK)
Sets the class p k of this d d m structure link.
|
void |
setExpandoBridgeAttributes(BaseModel<?> baseModel) |
void |
setExpandoBridgeAttributes(ExpandoBridge expandoBridge) |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the
attributes stored in the service context.
|
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this d d m structure link.
|
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
Sets the primary key of this model instance.
|
void |
setStructureId(long structureId)
Sets the structure ID of this d d m structure link.
|
void |
setStructureLinkId(long structureLinkId)
Sets the structure link ID of this d d m structure link.
|
CacheModel<DDMStructureLink> |
toCacheModel()
Returns a cache model object for this entity used by entity cache.
|
DDMStructureLink |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it
with an
AutoEscapeBeanHandler. |
java.lang.String |
toString() |
DDMStructureLink |
toUnescapedModel() |
java.lang.String |
toXmlString()
Returns the XML representation of this model instance.
|
public DDMStructureLinkWrapper(DDMStructureLink ddmStructureLink)
public java.lang.Class<?> getModelClass()
getModelClass in interface ClassedModelpublic java.lang.String getModelClassName()
getModelClassName in interface ClassedModelpublic java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface BaseModel<DDMStructureLink>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface BaseModel<DDMStructureLink>public long getPrimaryKey()
getPrimaryKey in interface DDMStructureLinkModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface DDMStructureLinkModelprimaryKey - the primary key of this d d m structure linkpublic long getStructureLinkId()
getStructureLinkId in interface DDMStructureLinkModelpublic void setStructureLinkId(long structureLinkId)
setStructureLinkId in interface DDMStructureLinkModelstructureLinkId - the structure link ID of this d d m structure linkpublic java.lang.String getClassName()
getClassName in interface TypedModelgetClassName in interface DDMStructureLinkModelpublic void setClassName(java.lang.String className)
setClassName in interface DDMStructureLinkModelpublic long getClassNameId()
getClassNameId in interface TypedModelgetClassNameId in interface DDMStructureLinkModelpublic void setClassNameId(long classNameId)
setClassNameId in interface TypedModelsetClassNameId in interface DDMStructureLinkModelclassNameId - the class name ID of this d d m structure linkpublic long getClassPK()
getClassPK in interface AttachedModelgetClassPK in interface DDMStructureLinkModelpublic void setClassPK(long classPK)
setClassPK in interface AttachedModelsetClassPK in interface DDMStructureLinkModelclassPK - the class p k of this d d m structure linkpublic long getStructureId()
getStructureId in interface DDMStructureLinkModelpublic void setStructureId(long structureId)
setStructureId in interface DDMStructureLinkModelstructureId - the structure ID of this d d m structure linkpublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.isNew in interface BaseModel<DDMStructureLink>isNew in interface DDMStructureLinkModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void setNew(boolean n)
BaseModelsetNew in interface BaseModel<DDMStructureLink>setNew in interface DDMStructureLinkModeln - whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.isCachedModel in interface BaseModel<DDMStructureLink>isCachedModel in interface DDMStructureLinkModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public void setCachedModel(boolean cachedModel)
BaseModelsetCachedModel in interface BaseModel<DDMStructureLink>setCachedModel in interface DDMStructureLinkModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.isEscapedModel in interface BaseModel<DDMStructureLink>isEscapedModel in interface DDMStructureLinkModeltrue if this model instance is escaped;
false otherwisepublic java.io.Serializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface BaseModel<DDMStructureLink>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface DDMStructureLinkModelpublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface BaseModel<DDMStructureLink>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface DDMStructureLinkModelprimaryKeyObj - the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface BaseModel<DDMStructureLink>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface DDMStructureLinkModelpublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<DDMStructureLink>setExpandoBridgeAttributes in interface DDMStructureLinkModelpublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<DDMStructureLink>setExpandoBridgeAttributes in interface DDMStructureLinkModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModelsetExpandoBridgeAttributes in interface BaseModel<DDMStructureLink>setExpandoBridgeAttributes in interface DDMStructureLinkModelserviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)public java.lang.Object clone()
BaseModelclone in interface BaseModel<DDMStructureLink>clone in interface DDMStructureLinkModelclone in class java.lang.Objectpublic int compareTo(DDMStructureLink ddmStructureLink)
compareTo in interface DDMStructureLinkModelcompareTo in interface java.lang.Comparable<DDMStructureLink>public int hashCode()
hashCode in interface DDMStructureLinkModelhashCode in class java.lang.Objectpublic CacheModel<DDMStructureLink> toCacheModel()
BaseModeltoCacheModel in interface BaseModel<DDMStructureLink>toCacheModel in interface DDMStructureLinkModelpublic DDMStructureLink toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface BaseModel<DDMStructureLink>toEscapedModel in interface DDMStructureLinkModelAutoEscapeBeanHandlerpublic DDMStructureLink toUnescapedModel()
toUnescapedModel in interface BaseModel<DDMStructureLink>toUnescapedModel in interface DDMStructureLinkModelpublic java.lang.String toString()
toString in interface DDMStructureLinkModeltoString in class java.lang.Objectpublic java.lang.String toXmlString()
BaseModeltoXmlString in interface BaseModel<DDMStructureLink>toXmlString in interface DDMStructureLinkModelpublic void persist()
throws SystemException
PersistedModelpersist in interface PersistedModelSystemException - if a system exception occurredpublic DDMStructure getStructure() throws PortalException, SystemException
getStructure in interface DDMStructureLinkPortalExceptionSystemExceptionpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic DDMStructureLink getWrappedDDMStructureLink()
getWrappedModel()public DDMStructureLink getWrappedModel()
getWrappedModel in interface ModelWrapper<DDMStructureLink>public void resetOriginalValues()
BaseModelresetOriginalValues in interface BaseModel<DDMStructureLink>