com.jamasoftware.contour.ws.v3.domain
Class WsDocAttach

java.lang.Object
  extended by com.jamasoftware.contour.ws.v3.domain.WsDocAttach

public class WsDocAttach
extends java.lang.Object

This object represents the relationship between an item and an attachment.

Author:
Dylan

Constructor Summary
WsDocAttach()
           
 
Method Summary
 WsItem getAttachment()
          Gets the attachment attached to the item.
 WsItem getDocument()
          Gets the item attached to the attachment.
 java.lang.Integer getId()
          Gets the doc_attach id.
 java.lang.String getNote()
          Gets the note associated with the doc_attach.
 void setAttachment(WsItem attachment)
          Sets the attachment attached to the item.
 void setDocument(WsItem document)
          Sets the item attached to the attachment.
 void setId(java.lang.Integer id)
          Sets the doc_attach id.
 void setNote(java.lang.String note)
          Sets the note associated with the doc_attach.
 java.lang.String toString()
          Gets a string representation of this doc_attach.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WsDocAttach

public WsDocAttach()
Method Detail

getId

public java.lang.Integer getId()
Gets the doc_attach id.

Returns:
doc_attach id

setId

public void setId(java.lang.Integer id)
Sets the doc_attach id.

Parameters:
id - doc_attach id

getDocument

public WsItem getDocument()
Gets the item attached to the attachment.

Returns:
item

setDocument

public void setDocument(WsItem document)
Sets the item attached to the attachment.

Parameters:
document - item

getAttachment

public WsItem getAttachment()
Gets the attachment attached to the item.

Returns:
item

setAttachment

public void setAttachment(WsItem attachment)
Sets the attachment attached to the item.

Parameters:
attachment - item

getNote

public java.lang.String getNote()
Gets the note associated with the doc_attach.

Returns:
doc_attach note

setNote

public void setNote(java.lang.String note)
Sets the note associated with the doc_attach.

Parameters:
note - doc_attach not

toString

public java.lang.String toString()
Gets a string representation of this doc_attach.

Overrides:
toString in class java.lang.Object
Returns:
String


Copyright (c) 2010 Jama Software, Inc. All Rights Reserved.