|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.aspsimon.termcomp.entity.Category
public class Category
Represents a category in the Competition. All categories have three common attributes: Name, Query and ProofTimeout. The query is a valid Hibernate query which returns the list of termination problems, functional or logic programs which represent the problem set for this category. Categories can be of three types:
CompetitionJobExecutor for more details).
| Constructor Summary | |
|---|---|
Category()
|
|
| Method Summary | |
|---|---|
java.lang.Long |
getCategoryId()
Get the unique identifier for this Category. |
java.lang.Long |
getCertificationTimeout()
Get the timeout allowed for certification of the proof. |
java.lang.Boolean |
getCertifying()
Determines whether this category is a certifying category. |
java.lang.Boolean |
getComplexity()
Determine whether this category is a complexity category. |
java.lang.String |
getName()
Get the name of this category. |
java.lang.Long |
getProofTimeout()
Get the timeout allowed for proving termination. |
java.lang.String |
getQuery()
Get the Hibernate query for this category. |
void |
setCategoryId(java.lang.Long categoryId)
Set the unique identifier for this Category. |
void |
setCertificationTimeout(java.lang.Long certificationTimeout)
Set the certification timeout. |
void |
setCertifying(java.lang.Boolean certifying)
Set whether this category is a certifying category. |
void |
setComplexity(java.lang.Boolean complexity)
Set whether this category is a complexity category. |
void |
setName(java.lang.String name)
Set the category name. |
void |
setProofTimeout(java.lang.Long proofTimeout)
Set the proof timeout. |
void |
setQuery(java.lang.String query)
Set the query which should return all the problems for this category. |
java.lang.String |
toString()
Return a human-readable representation of this category. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Category()
| Method Detail |
|---|
public java.lang.Long getCategoryId()
Category.
Category. Globally unique.public java.lang.String getName()
public java.lang.String getQuery()
#{true} or #{false} will be interpreted by the
container's Hibernate implementation as 'true' or 'false',
however any Hibernate implementation not running in a JavaEE container
will need to replace these by their literal values.
public java.lang.Long getProofTimeout()
public java.lang.Long getCertificationTimeout()
public java.lang.Boolean getComplexity()
public java.lang.Boolean getCertifying()
public void setCategoryId(java.lang.Long categoryId)
Category. Must be globally
unique, otherwise the database will complain heavily. There is normally
no need to actually use this call in normal programming.
categoryId - The categoryId to set.public void setName(java.lang.String name)
CategoryNameValidator as a
validator.
name - The category name to set.public void setQuery(java.lang.String query)
#{true} and #{false} should be used for checking
against boolean values.
query - The query to set. Must be a valid Hibernate query!public void setProofTimeout(java.lang.Long proofTimeout)
proofTimeout - The timeout to set.public void setCertificationTimeout(java.lang.Long certificationTimeout)
certificationTimeout - The certification timeout to set.public void setComplexity(java.lang.Boolean complexity)
complexity - A boolean value.public void setCertifying(java.lang.Boolean certifying)
certifying - A boolean value.public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||