public class CT_Attachment extends OFDElement
20.2 附件 图 92 表 73
proxy| 构造器和说明 |
|---|
CT_Attachment() |
CT_Attachment(org.dom4j.Element proxy) |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getAttachmentName()
【必选 属性】
获取 附件名称
|
LocalDate |
getCreationDate()
【可选 属性】
获取 创建时间
|
ST_Loc |
getFileLoc()
【可选】
获取 附件内容在包内的路径
|
String |
getFormat()
【可选 属性】
获取 附件格式
|
String |
getID()
【必选 属性】
获取 附件标识
|
LocalDate |
getModDate()
【可选 属性】
获取 修改时间
|
Double |
getSize()
【可选 属性】
获取 附件大小
以KB为单位
|
String |
getUsage()
【可选 属性】
获取 附件用途
默认值为 none
|
Boolean |
getVisible()
【可选 属相】
获取 附件是否可见
默认值为 true
|
CT_Attachment |
setAttachmentName(String attachmentName)
【必选 属性】
设置 附件名称
|
CT_Attachment |
setCreationDate(LocalDate creationDate)
【可选 属性】
设置 创建时间
|
CT_Attachment |
setFileLoc(ST_Loc fileLoc)
【可选】
设置 附件内容在包内的路径
|
CT_Attachment |
setFormat(String format)
【可选 属性】
设置 附件格式
|
CT_Attachment |
setID(String id)
【必选 属性】
设置 附件标识
|
CT_Attachment |
setModDate(LocalDate modDate)
【可选 属性】
设置 修改时间
|
CT_Attachment |
setSize(Double size)
【可选 属性】
设置 附件大小
以KB为单位
|
CT_Attachment |
setUsage(String usage)
【可选 属性】
设置 附件用途
默认值为 none
|
CT_Attachment |
setVisible(Boolean visible)
【可选 属相】
设置 附件是否可见
默认值为 true
|
addOFDEntity, getElements, getInstance, getObjID, getOFDElement, getOFDElement, getOFDElements, getOFDElementText, getQualifiedName, removeAll, removeAttr, removeOFDElemByNames, set, setObjID, setObjID, setOFDEntity, setOFDNameaccept, add, add, add, add, add, add, add, add, add, addAttribute, addAttribute, addCDATA, addComment, addElement, addElement, addElement, addEntity, additionalNamespaces, addNamespace, addProcessingInstruction, addProcessingInstruction, addText, appendAttributes, appendContent, asXML, asXPathResult, attribute, attribute, attribute, attributeCount, attributeIterator, attributes, attributeValue, attributeValue, attributeValue, attributeValue, clearContent, clone, content, createCopy, createCopy, createCopy, createXPath, declaredNamespaces, detach, element, element, elementByID, elementIterator, elementIterator, elementIterator, elements, elements, elements, elementText, elementText, elementTextTrim, elementTextTrim, equals, getData, getDocument, getName, getNamespace, getNamespaceForPrefix, getNamespaceForURI, getNamespacePrefix, getNamespacesForURI, getNamespaceURI, getNodeType, getNodeTypeName, getParent, getPath, getPath, getProxy, getQName, getQName, getStringValue, getText, getTextTrim, getUniquePath, getUniquePath, getXPathResult, hasContent, hasMixedContent, indexOf, isReadOnly, isRootElement, isTextOnly, matches, node, nodeCount, nodeIterator, normalize, numberValueOf, processingInstruction, processingInstructions, processingInstructions, remove, remove, remove, remove, remove, remove, remove, remove, remove, removeProcessingInstruction, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setAttributes, setAttributeValue, setAttributeValue, setContent, setData, setDocument, setName, setParent, setProcessingInstructions, setProxy, setQName, setText, supportsParent, valueOf, writepublic CT_Attachment(org.dom4j.Element proxy)
public CT_Attachment()
public CT_Attachment setID(String id)
id - 附件标识public String getID()
public CT_Attachment setAttachmentName(String attachmentName)
attachmentName - 附件名称public String getAttachmentName()
public CT_Attachment setFormat(String format)
format - 附件格式public String getFormat()
public CT_Attachment setCreationDate(LocalDate creationDate)
creationDate - 创建时间public LocalDate getCreationDate()
public CT_Attachment setModDate(LocalDate modDate)
modDate - 修改时间public LocalDate getModDate()
public CT_Attachment setSize(Double size)
以KB为单位
size - 附件大小,以KB为单位public Double getSize()
以KB为单位
public CT_Attachment setVisible(Boolean visible)
默认值为 true
visible - 附件是否可见public Boolean getVisible()
默认值为 true
public CT_Attachment setUsage(String usage)
默认值为 none
usage - 附件用途public String getUsage()
默认值为 none
public CT_Attachment setFileLoc(ST_Loc fileLoc)
fileLoc - 附件内容在包内的路径public ST_Loc getFileLoc()
Copyright © 2021. All rights reserved.