Package com.redwood.agent.api.rtx
Class RTXSource
- java.lang.Object
-
- com.redwood.agent.api.rtx.RTXSource
-
- All Implemented Interfaces:
Serializable
public class RTXSource extends Object implements Serializable
Metadata about the source of this document.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected RTXMetadatametadata
-
Constructor Summary
Constructors Constructor Description RTXSource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddDocumentPair(String newKey, String newValue)RTXSourcecopy()StringgetDescription()StringgetDocumentFileName()List<RTXDocumentPair>getDocumentPairs()StringgetDocumentSystemURL()StringgetDocumentURL()StringgetId()RTXDocumentKeygetKey()voidsetDescription(String newValue)voidsetDocumentFileName(String newValue)voidsetDocumentSystemURL(String newValue)voidsetDocumentURL(String newValue)voidsetId(String newValue)voidsetKey(RTXDocumentKey newValue)StringtoString()
-
-
-
Field Detail
-
metadata
protected RTXMetadata metadata
-
-
Method Detail
-
addDocumentPair
public void addDocumentPair(String newKey, String newValue) throws RTXMetadataReadOnlyRuntimeException
-
getDescription
public String getDescription()
-
getDocumentFileName
public String getDocumentFileName()
-
getDocumentPairs
public List<RTXDocumentPair> getDocumentPairs()
-
getDocumentSystemURL
public String getDocumentSystemURL()
-
getDocumentURL
public String getDocumentURL()
-
getId
public String getId()
-
getKey
public RTXDocumentKey getKey()
-
setDescription
public void setDescription(String newValue) throws RTXMetadataReadOnlyRuntimeException
-
setDocumentFileName
public void setDocumentFileName(String newValue) throws RTXMetadataReadOnlyRuntimeException
-
setDocumentSystemURL
public void setDocumentSystemURL(String newValue) throws RTXMetadataReadOnlyRuntimeException
-
setDocumentURL
public void setDocumentURL(String newValue) throws RTXMetadataReadOnlyRuntimeException
-
setId
public void setId(String newValue) throws RTXMetadataReadOnlyRuntimeException
-
setKey
public void setKey(RTXDocumentKey newValue) throws RTXMetadataReadOnlyRuntimeException
-
copy
public RTXSource copy()
-
-