public class DTSDocumentReference
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
DTSDocumentReference.ReferenceType
This is used to track the origin element of the reference.
|
Constructor and Description |
---|
DTSDocumentReference(java.net.URI parent,
DTSDocumentReference.ReferenceType type)
Instantiates a new DTS document reference.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Equals.
|
java.lang.String |
getRoleOrArcroleURI()
Gets the role or arcrole URI.
|
java.net.URI |
getTargetDocument()
Gets the target document.
|
DTSDocumentReference.ReferenceType |
getType()
Gets the type.
|
int |
hashCode()
Hash code.
|
void |
setRoleOrArcroleURI(java.lang.String roleOrArcroleURI)
Sets the role or arcrole URI.
|
void |
setTargetDocument(java.net.URI targetDocument)
Sets the target document.
|
java.lang.String |
toString()
To string.
|
public DTSDocumentReference(java.net.URI parent, DTSDocumentReference.ReferenceType type)
parent
- the parenttype
- the typepublic java.net.URI getTargetDocument()
public void setTargetDocument(java.net.URI targetDocument)
targetDocument
- the targetDocument to setpublic DTSDocumentReference.ReferenceType getType()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- the objpublic void setRoleOrArcroleURI(java.lang.String roleOrArcroleURI)
roleOrArcroleURI
- the new role or arcrole URIpublic java.lang.String getRoleOrArcroleURI()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa