Class CompactQuery
- java.lang.Object
-
- org.neotropic.kuwaiba.core.apis.persistence.application.CompactQuery
-
- All Implemented Interfaces:
Serializable
public class CompactQuery extends Object implements Serializable
The store-friendly version of an ExtendedQuery. Its structure is not meant to be executed, but to be transported and stored- Author:
- Charles Edward Bedon Cortazar <charles.bedon@kuwaiba.org>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected byte[]
content
Query bodyprotected String
description
Query descriptionprotected Long
id
Query idprotected Boolean
isPublic
Is a public queryprotected String
name
Query descriptionprotected Long
ownerId
Query ownerstatic String
PROPERTY_CREATION_DATE
static String
PROPERTY_DESCRIPTION
static String
PROPERTY_ID
static String
PROPERTY_IS_PUBLIC
static String
PROPERTY_QUERYNAME
static String
PROPERTY_QUERYSTRUCTURE
-
Constructor Summary
Constructors Constructor Description CompactQuery()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
getContent()
String
getDescription()
Long
getId()
Boolean
getIsPublic()
String
getName()
Long
getOwnerId()
void
setContent(byte[] body)
void
setDescription(String description)
void
setId(Long id)
void
setIsPublic(Boolean isPublic)
void
setName(String name)
void
setOwnerId(Long ownerId)
-
-
-
Field Detail
-
PROPERTY_ID
public static final String PROPERTY_ID
- See Also:
- Constant Field Values
-
PROPERTY_QUERYNAME
public static final String PROPERTY_QUERYNAME
- See Also:
- Constant Field Values
-
PROPERTY_DESCRIPTION
public static final String PROPERTY_DESCRIPTION
- See Also:
- Constant Field Values
-
PROPERTY_QUERYSTRUCTURE
public static final String PROPERTY_QUERYSTRUCTURE
- See Also:
- Constant Field Values
-
PROPERTY_CREATION_DATE
public static final String PROPERTY_CREATION_DATE
- See Also:
- Constant Field Values
-
PROPERTY_IS_PUBLIC
public static final String PROPERTY_IS_PUBLIC
- See Also:
- Constant Field Values
-
id
protected Long id
Query id
-
name
protected String name
Query description
-
description
protected String description
Query description
-
ownerId
protected Long ownerId
Query owner
-
isPublic
protected Boolean isPublic
Is a public query
-
content
protected byte[] content
Query body
-
-
Method Detail
-
getContent
public byte[] getContent()
-
setContent
public void setContent(byte[] body)
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
getId
public Long getId()
-
setId
public void setId(Long id)
-
getName
public String getName()
-
setName
public void setName(String name)
-
getOwnerId
public Long getOwnerId()
-
setOwnerId
public void setOwnerId(Long ownerId)
-
getIsPublic
public Boolean getIsPublic()
-
setIsPublic
public void setIsPublic(Boolean isPublic)
-
-