org.apache.portals.graffito.model.core.impl
Class LinkImpl

java.lang.Object
  extended by org.apache.portals.graffito.model.core.impl.CmsObjectImpl
      extended by org.apache.portals.graffito.model.core.impl.LinkImpl
All Implemented Interfaces:
java.io.Serializable, org.apache.portals.graffito.model.core.CmsObject, org.apache.portals.graffito.model.core.Link

public class LinkImpl
extends CmsObjectImpl
implements org.apache.portals.graffito.model.core.Link, java.io.Serializable

CMS LinkImpl implementation

Version:
$Id: LinkImpl.java,v 1.1 2004/12/22 20:36:59 christophe Exp $
Author:
Christophe Lombart
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.portals.graffito.model.core.impl.CmsObjectImpl
creationDate, lastModified, name, objectId, ojbConcreteClass, parentFolder, parentId, properties, uri
 
Fields inherited from interface org.apache.portals.graffito.model.core.CmsObject
URI_SEPARATOR
 
Constructor Summary
LinkImpl()
           
 
Method Summary
 org.apache.portals.graffito.model.core.CmsObject getTargetCmsObject()
           
 java.lang.Long getTargetCmsObjectId()
          Get the target cms object id
 void setTargetCmsObject(org.apache.portals.graffito.model.core.CmsObject cmsObject)
           
 void setTargetCmsObjectId(java.lang.Long targetCmsObjectId)
          Set the target cms object id
 
Methods inherited from class org.apache.portals.graffito.model.core.impl.CmsObjectImpl
equals, getCreationDate, getLastModified, getName, getObjectId, getParentFolder, getParentId, getPath, getProperties, getProperty, getUri, setCreationDate, setLastModified, setName, setObjectId, setParentFolder, setParentId, setProperties, setProperty, setUri, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.portals.graffito.model.core.CmsObject
getCreationDate, getLastModified, getName, getParentFolder, getPath, getProperties, getProperty, getUri, setCreationDate, setLastModified, setName, setParentFolder, setProperties, setProperty, setUri
 

Constructor Detail

LinkImpl

public LinkImpl()
Method Detail

getTargetCmsObject

public org.apache.portals.graffito.model.core.CmsObject getTargetCmsObject()
Specified by:
getTargetCmsObject in interface org.apache.portals.graffito.model.core.Link
See Also:
Link.getTargetCmsObject()

setTargetCmsObject

public void setTargetCmsObject(org.apache.portals.graffito.model.core.CmsObject cmsObject)
Specified by:
setTargetCmsObject in interface org.apache.portals.graffito.model.core.Link
See Also:
Link.setTargetCmsObject(org.apache.portals.graffito.model.core.CmsObject)

getTargetCmsObjectId

public java.lang.Long getTargetCmsObjectId()
Get the target cms object id

Returns:
the id

setTargetCmsObjectId

public void setTargetCmsObjectId(java.lang.Long targetCmsObjectId)
Set the target cms object id

Parameters:
targetCmsObjectId - The id to set


Copyright © 2004-2006 The Apache Software Foundation. All Rights Reserved.