This project has retired. For details please refer to its Attic page.
RepositoryProblemByRepositoryIdConstraint

org.apache.maven.archiva.database.constraints
Class RepositoryProblemByRepositoryIdConstraint

Package class diagram package RepositoryProblemByRepositoryIdConstraint
java.lang.Object
  extended by org.apache.maven.archiva.database.constraints.AbstractDeclarativeConstraint
      extended by org.apache.maven.archiva.database.constraints.RangeConstraint
          extended by org.apache.maven.archiva.database.constraints.RepositoryProblemByRepositoryIdConstraint
All Implemented Interfaces:
Constraint, DeclarativeConstraint

public class RepositoryProblemByRepositoryIdConstraint
extends RangeConstraint
implements Constraint

RepositoryProblemByRepositoryIdConstraint


Field Summary
 
Fields inherited from class org.apache.maven.archiva.database.constraints.AbstractDeclarativeConstraint
declImports, declParams, params, range, sortDirection, variables
 
Fields inherited from interface org.apache.maven.archiva.database.Constraint
ASCENDING, DESCENDING
 
Constructor Summary
RepositoryProblemByRepositoryIdConstraint(int[] range, java.lang.String desiredRepositoryId)
           
RepositoryProblemByRepositoryIdConstraint(java.lang.String desiredRepositoryId)
           
 
Method Summary
 java.lang.String getSortColumn()
          Get the sort column name.
 java.lang.String getWhereCondition()
          Get the SELECT WHERE (condition) value for the constraint.
 
Methods inherited from class org.apache.maven.archiva.database.constraints.AbstractDeclarativeConstraint
equals, getDeclaredImports, getDeclaredParameters, getFetchLimits, getFilter, getParameters, getRange, getSortDirection, getVariables, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.maven.archiva.database.Constraint
getFetchLimits
 

Constructor Detail

RepositoryProblemByRepositoryIdConstraint

public RepositoryProblemByRepositoryIdConstraint(java.lang.String desiredRepositoryId)

RepositoryProblemByRepositoryIdConstraint

public RepositoryProblemByRepositoryIdConstraint(int[] range,
                                                 java.lang.String desiredRepositoryId)
Method Detail

getSortColumn

public java.lang.String getSortColumn()
Description copied from interface: DeclarativeConstraint
Get the sort column name.

Specified by:
getSortColumn in interface DeclarativeConstraint
Overrides:
getSortColumn in class RangeConstraint
Returns:
the sort column name. (can be null)

getWhereCondition

public java.lang.String getWhereCondition()
Description copied from interface: DeclarativeConstraint
Get the SELECT WHERE (condition) value for the constraint.

Specified by:
getWhereCondition in interface DeclarativeConstraint
Overrides:
getWhereCondition in class RangeConstraint
Returns:
the equivalent of the SELECT WHERE (condition) value for this constraint. (can be null)