|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.YoUmail.AttachmentList
附件集DTO
Field Summary | |
private java.util.ArrayList |
attachment
用ArrayList存储附件集 |
Constructor Summary | |
AttachmentList()
|
Method Summary | |
void |
add(Attachment attach)
增加附件 |
Attachment |
get(int index)
返回指定的附件 |
Attachment[] |
getAttachments()
把存储的对象转换成附件对象 |
int |
getSize()
附件数 |
int |
getTotalSize()
合计大小 |
void |
remove(int index)
删除附件 |
java.lang.String |
toString()
描述上传附件情况,主要用于编辑时的附件栏显示 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private java.util.ArrayList attachment
Constructor Detail |
public AttachmentList()
Method Detail |
public Attachment[] getAttachments()
public void add(Attachment attach)
attach
- public void remove(int index)
index
- 索引public int getTotalSize()
public int getSize()
public Attachment get(int index)
index
- 指定的索引
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |