Package com.saperion.ngc.model.document
Class TemporaryDocumentId
- java.lang.Object
-
- com.saperion.ngc.model.document.TemporaryDocumentId
-
- All Implemented Interfaces:
java.io.Serializable
public final class TemporaryDocumentId extends java.lang.Object implements java.io.SerializableIdentifies a temporary document.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TemporaryDocumentIdcreate()Creates a newTemporaryDocumentIdbased on the current system time and theUUIDutility.booleanequals(java.lang.Object obj)java.lang.StringgetDocumentName()java.lang.StringgetId()inthashCode()voidsetDocumentName(java.lang.String name)java.lang.StringtoString()
-
-
-
Method Detail
-
getId
public java.lang.String getId()
- Returns:
- object ID of the document. This corresponds with the SysRowId. Never null.
-
getDocumentName
public java.lang.String getDocumentName()
- Returns:
- the name of the temporary document
-
setDocumentName
public void setDocumentName(java.lang.String name)
- Parameters:
name- the name of the temporary document
-
create
public static TemporaryDocumentId create()
Creates a newTemporaryDocumentIdbased on the current system time and theUUIDutility.- Returns:
- new temporary document id
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object- See Also:
Object.toString()
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object- See Also:
Object.hashCode()
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object- See Also:
Object.equals(java.lang.Object)
-
-