org.silverpeas.attachment.model
Class SimpleAttachment

java.lang.Object
  extended by org.silverpeas.attachment.model.SimpleAttachment
All Implemented Interfaces:
Serializable

public class SimpleAttachment
extends Object
implements Serializable

Author:
ehugonnet
See Also:
Serialized Form

Constructor Summary
SimpleAttachment()
           
SimpleAttachment(String filename, String language, String title, String description, long size, String contentType, String createdBy, Date created, String xmlFormId)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getContentType()
           
 Date getCreated()
           
 String getCreatedBy()
           
 String getDescription()
           
 String getFilename()
           
 String getLanguage()
           
 String getNodeName()
           
 long getSize()
           
 String getTitle()
           
 Date getUpdated()
           
 String getUpdatedBy()
           
 String getXmlFormId()
           
 int hashCode()
           
 void setContentType(String contentType)
           
 void setCreated(Date creationDate)
           
 void setCreatedBy(String createdBy)
           
 void setDescription(String description)
           
 void setFilename(String filename)
           
 void setLanguage(String language)
           
 void setSize(long size)
           
 void setTitle(String title)
           
 void setUpdated(Date updateDate)
           
 void setUpdatedBy(String updatedBy)
           
 void setXmlFormId(String xmlFormId)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SimpleAttachment

public SimpleAttachment(String filename,
                        String language,
                        String title,
                        String description,
                        long size,
                        String contentType,
                        String createdBy,
                        Date created,
                        String xmlFormId)

SimpleAttachment

public SimpleAttachment()
Method Detail

getNodeName

public String getNodeName()

getFilename

public String getFilename()

setFilename

public void setFilename(String filename)

getLanguage

public String getLanguage()

setLanguage

public void setLanguage(String language)

getTitle

public String getTitle()

setTitle

public void setTitle(String title)

getDescription

public String getDescription()

setDescription

public void setDescription(String description)

getSize

public long getSize()

setSize

public void setSize(long size)

getContentType

public String getContentType()

setContentType

public void setContentType(String contentType)

getCreatedBy

public String getCreatedBy()

setCreatedBy

public void setCreatedBy(String createdBy)

getCreated

public Date getCreated()

setCreated

public final void setCreated(Date creationDate)

getUpdatedBy

public String getUpdatedBy()

setUpdatedBy

public void setUpdatedBy(String updatedBy)

getUpdated

public Date getUpdated()

setUpdated

public final void setUpdated(Date updateDate)

getXmlFormId

public String getXmlFormId()

setXmlFormId

public void setXmlFormId(String xmlFormId)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2016 Silverpeas. All Rights Reserved.