Class RelatableNode
- java.lang.Object
-
- lumis.portal.socialnetwork.relationship.entity.RelatableNode
-
- All Implemented Interfaces:
IRelatable
public class RelatableNode extends java.lang.Object implements IRelatable
RelatableNode entity implementation.Implements the
IRelatable
interface and stores the properties of a relatable.- Since:
- 7.0.0
- Version:
- $Revision: 15056 $ $Date: 2012-11-29 18:51:41 -0200 (Thu, 29 Nov 2012) $
- See Also:
IRelatable
-
-
Constructor Summary
Constructors Constructor Description RelatableNode()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Date
getCreationDate()
Gets the IRelatable creation date.java.lang.String
getId()
Gets the IRelatable identifier.java.lang.String
getObjectId()
Gets the object identifier.java.lang.String
getType()
Gets the IRelatable type.void
setCreationDate(java.util.Date creationDate)
Sets the creation date.void
setId(java.lang.String id)
Sets the Id.void
setObjectId(java.lang.String objectId)
Sets the object id.void
setType(java.lang.String type)
Sets the type.
-
-
-
Method Detail
-
getId
public java.lang.String getId()
Description copied from interface:IRelatable
Gets the IRelatable identifier.- Specified by:
getId
in interfaceIRelatable
- Returns:
- string
-
setId
public void setId(java.lang.String id)
Sets the Id.- Parameters:
id
-- Since:
- 7.0.0
-
getCreationDate
public java.util.Date getCreationDate()
Description copied from interface:IRelatable
Gets the IRelatable creation date.- Specified by:
getCreationDate
in interfaceIRelatable
- Returns:
- creation date.
-
setCreationDate
public void setCreationDate(java.util.Date creationDate)
Sets the creation date.- Parameters:
creationDate
-- Since:
- 7.0.0
-
getType
public java.lang.String getType()
Description copied from interface:IRelatable
Gets the IRelatable type.- Specified by:
getType
in interfaceIRelatable
- Returns:
- creation date.
-
setType
public void setType(java.lang.String type)
Sets the type.- Parameters:
type
-- Since:
- 7.0.0
-
getObjectId
public java.lang.String getObjectId()
Description copied from interface:IRelatable
Gets the object identifier.- Specified by:
getObjectId
in interfaceIRelatable
- Returns:
- string
-
setObjectId
public void setObjectId(java.lang.String objectId)
Sets the object id.- Parameters:
objectId
-- Since:
- 7.0.0
-
-