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[]contentQuery bodyprotected StringdescriptionQuery descriptionprotected LongidQuery idprotected BooleanisPublicIs a public queryprotected StringnameQuery descriptionprotected LongownerIdQuery ownerstatic StringPROPERTY_CREATION_DATEstatic StringPROPERTY_DESCRIPTIONstatic StringPROPERTY_IDstatic StringPROPERTY_IS_PUBLICstatic StringPROPERTY_QUERYNAMEstatic StringPROPERTY_QUERYSTRUCTURE
-
Constructor Summary
Constructors Constructor Description CompactQuery()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]getContent()StringgetDescription()LonggetId()BooleangetIsPublic()StringgetName()LonggetOwnerId()voidsetContent(byte[] body)voidsetDescription(String description)voidsetId(Long id)voidsetIsPublic(Boolean isPublic)voidsetName(String name)voidsetOwnerId(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)
-
-