com.ibm.ram.common.data
Class Attachment

java.lang.Object
  extended by com.ibm.ram.common.data.Attachment
Direct Known Subclasses:
RAMAttachment

public class Attachment
extends java.lang.Object

Represents an attachment to a forum topic or post

Since:
7.1

Constructor Summary
Attachment()
           
 
Method Summary
 java.lang.String getDescription()
           
 long getId()
           
 java.lang.String getName()
           
 long getPostID()
           
 int getTopicID()
           
 void setDescription(java.lang.String description)
           
 void setId(long id)
           
 void setName(java.lang.String name)
           
 void setPostID(long postID)
           
 void setTopicID(int topicID)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Attachment

public Attachment()
Method Detail

getId

public long getId()
Returns:
Returns the id.
Since:
7.1

setId

public void setId(long id)
Parameters:
id - The id to set.
Since:
7.1

getName

public java.lang.String getName()
Returns:
Returns the name.
Since:
7.1

setName

public void setName(java.lang.String name)
Parameters:
name - The name to set.
Since:
7.1

getDescription

public java.lang.String getDescription()
Returns:
Returns the description.
Since:
7.1

setDescription

public void setDescription(java.lang.String description)
Parameters:
description - The description to set.
Since:
7.1

getTopicID

public int getTopicID()
Returns:
Returns the topicID.
Since:
7.1

setTopicID

public void setTopicID(int topicID)
Parameters:
topicID - The topicID to set.
Since:
7.1

getPostID

public long getPostID()
Returns:
Returns the postID.
Since:
7.1

setPostID

public void setPostID(long postID)
Parameters:
postID - The postID to set.
Since:
7.1