@Entity
public class Document
extends com.whitestein.lsps.common.AbstractEntity
Modifier and Type | Field and Description |
---|---|
static String |
GET_ALL_DOCUMENT_IDS
Query name.
|
static String |
GET_DOCUMENT_IDS_FOR_MODULE
Query name.
|
static String |
GET_DOCUMENT_IDS_FOR_TYPE
Query name.
|
Constructor and Description |
---|
Document()
Constructor needed for JPA-specific purposes.
|
Document(long moduleId,
String name,
DocumentType type)
Creates new instance.
|
Modifier and Type | Method and Description |
---|---|
long |
getModuleId()
Returns module id.
|
String |
getName()
Returns document name.
|
DocumentType |
getType()
Returns document type.
|
public static final String GET_ALL_DOCUMENT_IDS
public static final String GET_DOCUMENT_IDS_FOR_MODULE
public static final String GET_DOCUMENT_IDS_FOR_TYPE
public Document()
public Document(long moduleId, String name, DocumentType type)
moduleId
- name
- type
- public long getModuleId()
public String getName()
public DocumentType getType()
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.