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