Uses of Interface
net.sourceforge.domian.specification.Specification

Packages that use Specification
net.sourceforge.domian.factory   
net.sourceforge.domian.repository   
net.sourceforge.domian.specification   
 

Uses of Specification in net.sourceforge.domian.factory
 

Methods in net.sourceforge.domian.factory with parameters of type Specification
 T StrictReturnsNullFactory.create(Specification specification)
           
 T StrictConstructorOnlyReturnsNullFactory.create(Specification specification)
          Deprecated.  
 T Factory.create(Specification<T> specification)
          Alias of createObjectSpecifiedBy().
 T StrictReturnsNullFactory.createObjectSpecifiedBy(Specification specification)
           
 T StrictConstructorOnlyReturnsNullFactory.createObjectSpecifiedBy(Specification specification)
          Deprecated.  
 T Factory.createObjectSpecifiedBy(Specification<T> specification)
           
 

Uses of Specification in net.sourceforge.domian.repository
 

Classes in net.sourceforge.domian.repository that implement Specification
(package private)  class PartitionRepositoryInvocationHandler.PartitionAwareSpecification<V extends T>
          ...
 

Fields in net.sourceforge.domian.repository declared as Specification
(package private)  Specification<V> PartitionRepositoryInvocationHandler.PartitionAwareSpecification.customSpecification
           
private  Specification<V> PartitionRepositoryInvocationHandler.FindAllEntitiesSpecifiedBy.partitionAwareSpecification
           
(package private)  Specification<V> PartitionRepositoryInvocationHandler.PartitionAwareSpecification.partitionAwareSpecification
           
protected  Specification<T> PartitionRepositoryInvocationHandler.partitionSpecification
           
protected  Specification<V> HashSetRepository.HashSetRepositoryIterator.specification
           
protected  Specification<? super T> PartitionRepositoryInvocationHandler.superPartitionSpecification
           
 

Fields in net.sourceforge.domian.repository with type parameters of type Specification
private  java.util.Map<Specification<? extends T>,PartitionRepository> PartitionRepositoryInvocationHandler.PartitionRepositoryIterator.partitionMap
           
protected  java.util.Map<Specification<? extends T>,PartitionRepository> PartitionRepositoryInvocationHandler.subPartitions
          All sub-partition repositories, indexed by a unique specification.
 

Methods in net.sourceforge.domian.repository that return Specification
 Specification<T> PartitionRepositoryInvocationHandler.getPartitionSpecification()
           
 Specification<T> PartitionRepository.getPartitionSpecification()
          This method applies to this partition only!
 Specification<? super T> PartitionRepositoryInvocationHandler.getSuperPartitionSpecification()
           
 

Methods in net.sourceforge.domian.repository that return types with arguments of type Specification
 java.util.Map<Specification<? extends T>,PartitionRepository> PartitionRepositoryInvocationHandler.getAllPartitions()
           
 java.util.Map<Specification<? extends T>,PartitionRepository> PartitionRepository.getAllPartitions()
          Optional: mainly added for testing purposes, may throw UnsupportedOperationException
 java.util.Map<Specification<? extends T>,PartitionRepository> PartitionRepositoryInvocationHandler.getPartitions()
           
 java.util.Map<Specification<? extends T>,PartitionRepository> PartitionRepository.getPartitions()
          Optional: mainly added for testing purposes, may throw UnsupportedOperationException

This method applies to this partition only!

 

Methods in net.sourceforge.domian.repository with parameters of type Specification
protected
<V extends T>
PartitionRepository<V>
PartitionRepositoryInvocationHandler.addPartition(Specification<V> partitionSpecification, PartitionRepository<? extends V> partitionRepository)
           
<V extends T>
PartitionRepository<V>
PartitionRepositoryInvocationHandler.addPartitionFor(Specification<V> partitionSpecification)
           
<V extends T>
PartitionRepository<V>
PartitionRepository.addPartitionFor(Specification<V> partitionSpecification)
          Adds a new partition to this repository.
<V extends T>
PartitionRepository<V>
PartitionRepositoryReuseInvocationHandler.addPartitionFor(Specification<V> partitionSpecification, Repository<? super V> partitionRepository)
           
<V extends T>
PartitionRepository<V>
PartitionRepositoryInvocationHandler.addPartitionFor(Specification<V> partitionSpecification, Repository<? super V> partitionRepository)
           
<V extends T>
PartitionRepository<V>
PartitionRepository.addPartitionFor(Specification<V> partitionSpecification, Repository<? super V> partitionRepository)
          Adds a new partition to this repository.
<V extends T>
PartitionRepository<V>
PartitionRepositoryReuseInvocationHandler.addPartitionFor(Specification<V> partitionSpecification, java.lang.String repositoryId)
           
<V extends T>
PartitionRepository<V>
PartitionRepositoryInvocationHandler.addPartitionFor(Specification<V> partitionSpecification, java.lang.String repositoryId)
           
<V extends T>
PartitionRepository<V>
PartitionRepository.addPartitionFor(Specification<V> partitionSpecification, java.lang.String repositoryId)
          Adds a new partition to this repository.
<R extends Repository>
void
PartitionRepositoryInvocationHandler.collectAllPartitionsWithRepositorySatisfying(Specification<R> specification, java.util.Map<Specification<? extends T>,PartitionRepository> partitionMap)
           
<R extends Repository>
void
PartitionRepository.collectAllPartitionsWithRepositorySatisfying(Specification<R> specification, java.util.Map<Specification<? extends T>,PartitionRepository> partitionMap)
          Populates the given map with a flattened and recursive view of all partitions in this repository, satisfying the given specification.
<V extends T>
java.lang.Long
Repository.count(Specification<V> specification)
          Alias of countAllEntitiesSpecifiedBy(Specification).
<V extends T>
java.lang.Long
AbstractRepository.count(Specification<V> specification)
           
<V extends T>
java.lang.Long
Repository.countAll(Specification<V> specification)
          Alias of countAllEntitiesSpecifiedBy(Specification).
<V extends T>
java.lang.Long
AbstractRepository.countAll(Specification<V> specification)
           
<V extends T>
java.lang.Long
Repository.countAllEntitiesSpecifiedBy(Specification<V> specification)
          Counts the number of entities approved by the given specification.
<V extends T>
java.lang.Long
AbstractRepository.countAllEntitiesSpecifiedBy(Specification<V> specification)
           
protected
<V extends T>
java.lang.Long
PartitionRepositoryInvocationHandler.countAllEntitiesWithoutSpecificationSharpening(Specification<V> specification)
          Special count method without sharpening original specifications to fit partition specifications.
<V extends T>
java.util.Collection<V>
Repository.find(Specification<V> specification)
          Alias of findAllEntitiesSpecifiedBy(Specification).
<V extends T>
java.util.Collection<V>
AbstractRepository.find(Specification<V> specification)
           
<V extends T>
java.util.Collection<V>
Repository.findAll(Specification<V> specification)
          Alias of findAllEntitiesSpecifiedBy(Specification).
<V extends T>
java.util.Collection<V>
AbstractRepository.findAll(Specification<V> specification)
           
<V extends T>
java.util.Collection<V>
UnsupportedRepository.findAllEntitiesSpecifiedBy(Specification<V> specification)
           
<V extends T>
java.util.Collection<V>
Repository.findAllEntitiesSpecifiedBy(Specification<V> specification)
          Finds and returns all entities approved by the given specification.
<V extends T>
java.util.Collection<V>
PartitionRepositoryInvocationHandler.findAllEntitiesSpecifiedBy(Specification<V> specification)
           
<V extends T>
java.util.Collection<V>
NullRepository.findAllEntitiesSpecifiedBy(Specification<V> specification)
           
<V extends T>
java.util.Collection<V>
NotImplementedRepository.findAllEntitiesSpecifiedBy(Specification<V> specification)
           
<V extends T>
java.util.Collection<V>
InMemoryRepository.findAllEntitiesSpecifiedBy(Specification<V> specification)
           
<V extends T>
java.util.Collection<V>
HashSetRepository.findAllEntitiesSpecifiedBy(Specification<V> specification)
           
protected
<V extends T>
java.util.Collection<V>
PartitionRepositoryInvocationHandler.findAllEntitiesSpecifiedBy(Specification<V> specification, java.lang.Boolean sharpenOriginalSpecificationsToFitPartitionSpecification)
           
<V extends T>
PartitionRepository
PartitionRepositoryInvocationHandler.findPartitionFor(Specification<V> partitionSpecification)
           
<V extends T>
PartitionRepository
PartitionRepository.findPartitionFor(Specification<V> specification)
           
<V extends T>
V
Repository.findSingle(Specification<V> specification)
          Alias of findSingleEntitySpecifiedBy(Specification).
<V extends T>
V
AbstractRepository.findSingle(Specification<V> specification)
           
<V extends T>
V
Repository.findSingleEntitySpecifiedBy(Specification<V> specification)
          Finds and returns one single entity approved by the given specification.
<V extends T>
V
AbstractRepository.findSingleEntitySpecifiedBy(Specification<V> specification)
           
 java.lang.Boolean PartitionRepositoryInvocationHandler.PartitionAwareSpecification.isGeneralizationOf(Specification<? extends V> specification)
           
 java.lang.Boolean PartitionRepositoryInvocationHandler.PartitionAwareSpecification.isSpecialCaseOf(Specification<? super V> specification)
           
<V extends T>
java.util.Iterator<V>
Repository.iterate(Specification<V> specification)
          Alias of iterateAllEntitiesSpecifiedBy(Specification).
<V extends T>
java.util.Iterator<V>
AbstractRepository.iterate(Specification<V> specification)
           
<V extends T>
java.util.Iterator<V>
Repository.iterateAll(Specification<V> specification)
          Alias of iterateAllEntitiesSpecifiedBy(Specification).
<V extends T>
java.util.Iterator<V>
AbstractRepository.iterateAll(Specification<V> specification)
           
<V extends T>
java.util.Iterator<V>
UnsupportedRepository.iterateAllEntitiesSpecifiedBy(Specification<V> specification)
           
<V extends T>
java.util.Iterator<V>
Repository.iterateAllEntitiesSpecifiedBy(Specification<V> specification)
          Finds and returns all entities approved by the given specification.
<V extends T>
java.util.Iterator<V>
PartitionRepositoryInvocationHandler.iterateAllEntitiesSpecifiedBy(Specification<V> specification)
           
<V extends T>
java.util.Iterator<V>
NullRepository.iterateAllEntitiesSpecifiedBy(Specification<V> specification)
           
<V extends T>
java.util.Iterator<V>
NotImplementedRepository.iterateAllEntitiesSpecifiedBy(Specification<V> specification)
           
<V extends T>
java.util.Iterator<V>
InMemoryRepository.iterateAllEntitiesSpecifiedBy(Specification<V> specification)
           
<V extends T>
java.util.Iterator<V>
HashSetRepository.iterateAllEntitiesSpecifiedBy(Specification<V> specification)
           
<V extends T>
java.lang.Long
Repository.remove(Specification<V> specification)
          Alias of removeAllEntitiesSpecifiedBy(Specification).
<V extends T>
java.lang.Long
AbstractRepository.remove(Specification<V> specification)
           
<V extends T>
java.lang.Long
Repository.removeAll(Specification<V> specification)
          Alias of removeAllEntitiesSpecifiedBy(Specification).
<V extends T>
java.lang.Long
AbstractRepository.removeAll(Specification<V> specification)
           
<V extends T>
java.lang.Long
UnsupportedRepository.removeAllEntitiesSpecifiedBy(Specification<V> specification)
           
<V extends T>
java.lang.Long
Repository.removeAllEntitiesSpecifiedBy(Specification<V> specification)
          Removes all entities approved by the given specification.
<V extends T>
java.lang.Long
PartitionRepositoryInvocationHandler.removeAllEntitiesSpecifiedBy(Specification<V> specification)
           
<V extends T>
java.lang.Long
NullRepository.removeAllEntitiesSpecifiedBy(Specification<V> specification)
           
<V extends T>
java.lang.Long
NotImplementedRepository.removeAllEntitiesSpecifiedBy(Specification<V> specification)
           
<V extends T>
java.lang.Long
InMemoryRepository.removeAllEntitiesSpecifiedBy(Specification<V> specification)
           
<V extends T>
java.lang.Long
HashSetRepository.removeAllEntitiesSpecifiedBy(Specification<V> specification)
           
 void PartitionRepositoryInvocationHandler.setPartitionSpecification(Specification<T> partitionSpecification)
           
 void PartitionRepository.setPartitionSpecification(Specification<T> specification)
          This method applies to this partition only!
 void PartitionRepositoryInvocationHandler.setSuperPartitionSpecification(Specification<? super T> specification)
           
 void PartitionRepository.setSuperPartitionSpecification(Specification<? super T> specification)
          This method applies to this partition only!
(package private)  void PartitionRepositoryInvocationHandler.IteratorRegistry.updateIteratorsWith(Specification partitionSpecification, PartitionRepository subPartition)
           
protected  PartitionRepository PartitionRepositoryInvocationHandler.wireUpPartition(Specification superPartitionSpecification, PartitionRepository superPartitionRepository, Specification partitionSpecification, PartitionRepository partitionRepository)
           
protected  PartitionRepository PartitionRepositoryInvocationHandler.wireUpPartition(Specification superPartitionSpecification, PartitionRepository superPartitionRepository, Specification partitionSpecification, PartitionRepository partitionRepository)
           
 

Method parameters in net.sourceforge.domian.repository with type arguments of type Specification
 void PartitionRepositoryInvocationHandler.collectAllPartitions(java.util.Map<Specification<? extends T>,PartitionRepository> partitionMap)
           
 void PartitionRepository.collectAllPartitions(java.util.Map<Specification<? extends T>,PartitionRepository> partitionMap)
          Populates the given map with a flattened and recursive view of all partitions in this repository.
<R extends Repository>
void
PartitionRepositoryInvocationHandler.collectAllPartitionsWithRepositorySatisfying(Specification<R> specification, java.util.Map<Specification<? extends T>,PartitionRepository> partitionMap)
           
<R extends Repository>
void
PartitionRepository.collectAllPartitionsWithRepositorySatisfying(Specification<R> specification, java.util.Map<Specification<? extends T>,PartitionRepository> partitionMap)
          Populates the given map with a flattened and recursive view of all partitions in this repository, satisfying the given specification.
 

Constructors in net.sourceforge.domian.repository with parameters of type Specification
HashSetRepository.HashSetRepositoryIterator(HashSetRepository<T> repository, Specification<V> specification)
           
InMemoryRepository.InMemoryRepositoryIterator(InMemoryRepository<T> repository, Specification<V> specification)
           
PartitionRepositoryInvocationHandler.FindAllEntitiesSpecifiedBy(Specification<V> specification)
           
PartitionRepositoryInvocationHandler.FindAllEntitiesSpecifiedBy(Specification<V> specification, java.lang.Boolean modifyOriginalSpecificationsToFitPartitionSpecification)
           
PartitionRepositoryInvocationHandler.IterateAllEntitiesSpecifiedBy(Specification<V> specification)
           
PartitionRepositoryInvocationHandler.PartitionAwareSpecification(Specification<V> customSpecification, Specification<T> partitionSpecification)
           
PartitionRepositoryInvocationHandler.PartitionAwareSpecification(Specification<V> customSpecification, Specification<T> partitionSpecification)
           
PartitionRepositoryInvocationHandler.PartitionRepositoryIterator(Specification<V> specification, PartitionRepository<T> repo)
           
PartitionRepositoryInvocationHandler.RemoveAllEntitiesSpecifiedBy(Specification<V> specification)
           
 

Uses of Specification in net.sourceforge.domian.specification
 

Subinterfaces of Specification in net.sourceforge.domian.specification
 interface CompositeSpecification<T>
          Part of the Evans/Fowler Specifications pattern.
 interface LeafSpecification<T>
          Part of the Evans/Fowler Specifications pattern.
 interface ValueBoundSpecification<T>
          Part of the Evans/Fowler Specifications pattern.
 

Classes in net.sourceforge.domian.specification that implement Specification
(package private)  class AbstractCompositeSpecification<T>
          An abstract superclass for composite specifications.
(package private)  class AbstractValueBoundSpecification<T>
          An abstract superclass for value bound specifications.
(package private)  class AlwaysFalseSpecification
          Leaf specification, always giving a negative respons.
(package private)  class AlwaysTrueSpecification
          Leaf specification, always giving a positive respons.
(package private)  class BlankStringSpecification
          Deprecated. Replaced by DefaultValueSpecification - will be removed in v0.5
(package private)  class CollectionSpecification<F>
          Specification for Collections.
(package private)  class ConjuntionSpecification<T>
          A composite specification where all of the wrapped specifications must be satisfied for this overall composite specification to be satisfied.
(package private)  class DateStringSpecification
          Specification for approval of date strings.
(package private)  class DefaultValueSpecification<T>
          Leaf specification, specifying all Java objects with their default value intact.
(package private)  class DisjuntionSpecification<T>
          A composite specification where at least one of the wrapped specifications must be satisfied for this overall composite specification to be satisfied.
(package private)  class EnumNameStringSpecification<E extends Enum>
          This specification will be satisfied by all strings that is a valid name for the enum type this specificationis representing.
(package private)  class EqualIgnoreCaseStringSpecification
          Specification for string approval.
(package private)  class EqualSpecification<T>
          Specification for equality checking.
(package private)  class FieldParameterizedSpecification<T,F>
          A parameterized specification deals, as opposed to value bound specifications, also with value context.
(package private)  class GreaterThanOrEqualSpecification<T extends Comparable<T>>
          Specification for comparing two objects.
(package private)  class GreaterThanSpecification<T extends Comparable<T>>
          Specification for comparing two objects.
(package private)  class JointDenialSpecification<T>
          A joint denial specification where none of the wrapped specifications must be satisfied for this overall composite specification to be satisfied.
(package private)  class LessThanOrEqualSpecification<T extends Comparable<T>>
          Specification for comparing two objects.
(package private)  class LessThanSpecification<T extends Comparable<T>>
          Specification for comparing two objects.
(package private)  class MethodParameterizedSpecification<T,F>
          A parameterized specification deals, as opposed to value bound specifications, also with value context.
(package private)  class NotNullSpecification<T>
          Leaf specification, specifying all objects that is not null.
(package private)  class ParameterizedSpecification<T,F>
          A parameterized specification deals, as opposed to value bound specifications, also with value context.
(package private)  class RegularExpressionMatcherStringSpecification
          Specification that uses a regular expression engine for specifying strings.
(package private)  class WildcardExpressionMatcherIgnoreCaseStringSpecification
          Specification that uses a regular expression engine for specifying wildcard strings ignoring case.
(package private)  class WildcardExpressionMatcherStringSpecification
          Specification that uses a regular expression engine for specifying wildcard strings.
 

Fields in net.sourceforge.domian.specification declared as Specification
protected  Specification<F> ParameterizedSpecification.accessibleObjectSpecification
           
private  Specification<java.lang.Integer> CollectionSpecification.collectionSpecification
           
private  Specification<F> CollectionSpecification.elementSpecification
           
(package private) static Specification<ParameterizedSpecification> AbstractCompositeSpecification.parameterizedSpecificationWithDisjunctionSpec
           
 

Fields in net.sourceforge.domian.specification with type parameters of type Specification
protected  java.util.Set<Specification<? super T>> AbstractCompositeSpecification.specifications
          The wrapped specifications.
 

Methods in net.sourceforge.domian.specification that return Specification
static Specification<java.util.Date> SpecificationFactory.after(java.lang.String dateString)
           
static
<T extends java.lang.Comparable<T>>
Specification<T>
SpecificationFactory.after(T value)
           
static Specification<java.util.Date> SpecificationFactory.afterOrAtTheSameTimeAs(java.lang.String dateString)
           
static
<T extends java.lang.Comparable<T>>
Specification<T>
SpecificationFactory.afterOrAtTheSameTimeAs(T dateOrLongValue)
           
static Specification<? extends Entity> SpecificationFactory.allEntities()
           
static Specification SpecificationFactory.allObjects()
           
static
<T> Specification<T>
SpecificationFactory.anObjectEqualTo(T value)
           
static
<F> Specification<F>
SpecificationFactory.anyOf(F... values)
           
static Specification<java.util.Date> SpecificationFactory.at(java.util.Date date)
           
static
<T extends java.lang.Comparable<T>>
Specification<T>
SpecificationFactory.atLeast(T value)
           
static
<T extends java.lang.Comparable<T>>
Specification<T>
SpecificationFactory.atMost(T value)
           
static Specification<java.util.Date> SpecificationFactory.atTheSameTimeAs(java.util.Date date)
           
static Specification<java.util.Date> SpecificationFactory.before(java.lang.String dateString)
           
static
<T extends java.lang.Comparable<T>>
Specification<T>
SpecificationFactory.before(T value)
           
static Specification<java.util.Date> SpecificationFactory.beforeOrAtTheSameTimeAs(java.lang.String dateString)
           
static
<T extends java.lang.Comparable<T>>
Specification<T>
SpecificationFactory.beforeOrAtTheSameTimeAs(T dateOfLongValue)
           
static Specification<java.lang.String> SpecificationFactory.blankString()
           
static Specification SpecificationFactory.createAlwaysFalseSpecification()
           
static Specification SpecificationFactory.createAlwaysTrueSpecification()
           
static Specification<java.lang.String> SpecificationFactory.createBlankStringSpecification()
           
static Specification SpecificationFactory.createContradiction()
           
static Specification<java.lang.String> SpecificationFactory.createDateStringSpecification(java.lang.String dateString)
           
static Specification<java.lang.Number> SpecificationFactory.createDefaultNumberSpecification()
           
(package private) static
<T> Specification<T>
SpecificationFactory.createDefaultValueOfTypeSpecification(java.lang.Class<T> type)
           
static
<E extends java.lang.Enum>
Specification<java.lang.String>
SpecificationFactory.createEnumNameStringSpecification(java.lang.Class<E> enumClass)
           
static
<T> Specification<T>
SpecificationFactory.createEqualSpecification(T value)
           
(package private) static
<T extends java.lang.Comparable<T>>
Specification<T>
SpecificationFactory.createGreaterThanOrEqualSpecification(T value)
           
(package private) static
<T extends java.lang.Comparable<T>>
Specification<T>
SpecificationFactory.createGreaterThanSpecification(T value)
           
(package private) static
<T extends java.lang.Comparable<T>>
Specification<T>
SpecificationFactory.createLessThanOrEqualSpecification(T value)
           
(package private) static
<T extends java.lang.Comparable<T>>
Specification<T>
SpecificationFactory.createLessThanSpecification(T value)
           
static
<T> Specification<T>
SpecificationFactory.createNotNullSpecification(java.lang.Class<T> type)
           
(package private) static Specification<java.lang.String> SpecificationFactory.createRegularExpressionMatcherStringSpecification(java.lang.String regularExpression)
           
static Specification SpecificationFactory.createTautology()
           
static
<T extends Entity>
Specification<T>
SpecificationUtils.createUniqueSpecificationFor(T entity)
           
(package private) static Specification<java.lang.String> SpecificationFactory.createWildcardExpressionIgnoringCaseMatcherStringSpecification(java.lang.String wildcardExpression)
           
(package private) static Specification<java.lang.String> SpecificationFactory.createWildcardExpressionMatcherStringSpecification(java.lang.String wildcardExpression)
           
static Specification<java.lang.Number> SpecificationFactory.defaultNumber()
           
(package private) static
<T> Specification<T>
SpecificationFactory.defaultValueOfType(java.lang.Class<T> type)
           
static Specification<? extends Entity> SpecificationFactory.entities()
           
static Specification<? extends Entity> SpecificationFactory.entity()
           
static
<T> Specification<T>
SpecificationFactory.equalTo(T value)
           
static
<T> Specification<T>
SpecificationFactory.exactly(T value)
           
 Specification<F> ParameterizedSpecification.getAccessibleObjectSpecification()
           
 Specification<java.lang.Integer> CollectionSpecification.getCollectionSpecification()
           
 Specification<F> CollectionSpecification.getElementSpecification()
           
static
<T extends java.lang.Comparable<T>>
Specification<T>
SpecificationFactory.greaterThan(T value)
           
static
<T extends java.lang.Comparable<T>>
Specification<T>
SpecificationFactory.greaterThanOrEqualTo(T value)
           
static
<T> Specification<T>
SpecificationFactory.is(T value)
           
static
<T extends java.lang.Comparable<T>>
Specification<T>
SpecificationFactory.isAfter(T value)
           
static
<T extends java.lang.Comparable<T>>
Specification<T>
SpecificationFactory.isAfterOrAtTheSameTimeAs(T dateOrLongValue)
           
static Specification<java.util.Date> SpecificationFactory.isAtTheSameTimeAs(java.util.Date date)
           
static
<T extends java.lang.Comparable<T>>
Specification<T>
SpecificationFactory.isBefore(T value)
           
static
<T extends java.lang.Comparable<T>>
Specification<T>
SpecificationFactory.isBeforeOrAtTheSameTimeAs(T dateOrLongValue)
           
static Specification<java.lang.String> SpecificationFactory.isBlankString()
           
static Specification<java.lang.String> SpecificationFactory.isDate(java.lang.String dateString)
           
static Specification<java.lang.Number> SpecificationFactory.isDefaultNumber()
           
(package private) static
<T> Specification<T>
SpecificationFactory.isDefaultValueOfType(java.lang.Class<T> type)
           
static
<E extends java.lang.Enum>
Specification<java.lang.String>
SpecificationFactory.isEnum(java.lang.Class<E> enumClass)
           
static
<T> Specification<T>
SpecificationFactory.isEqualTo(T value)
           
static Specification<java.lang.Boolean> SpecificationFactory.isFalse()
           
static
<T extends java.lang.Comparable<T>>
Specification<T>
SpecificationFactory.isGreaterThan(T value)
           
static
<T extends java.lang.Comparable<T>>
Specification<T>
SpecificationFactory.isGreaterThanOrEqualTo(T value)
           
static
<T extends java.lang.Comparable<T>>
Specification<T>
SpecificationFactory.isLessThan(T value)
           
static
<T extends java.lang.Comparable<T>>
Specification<T>
SpecificationFactory.isLessThanOrEqualTo(T value)
           
static Specification<?> SpecificationFactory.isNotNull()
           
static Specification<?> SpecificationFactory.isNull()
           
static Specification<java.lang.Boolean> SpecificationFactory.isTrue()
           
static
<T extends java.lang.Comparable<T>>
Specification<T>
SpecificationFactory.lessThan(T value)
           
static
<T extends java.lang.Comparable<T>>
Specification<T>
SpecificationFactory.lessThanOrEqualTo(T value)
           
static Specification<java.lang.String> SpecificationFactory.like(java.lang.String wildcardExpression)
           
static Specification<java.lang.String> SpecificationFactory.matches(java.lang.String regularExpression)
           
static Specification<java.lang.String> SpecificationFactory.matchesRegex(java.lang.String regularExpression)
           
static Specification<java.lang.String> SpecificationFactory.matchesRegularExpression(java.lang.String regularExpression)
           
static Specification<java.lang.String> SpecificationFactory.matchesWildcardExpression(java.lang.String wildcardExpression)
           
static Specification<java.lang.String> SpecificationFactory.matchesWildcardExpressionIgnoringCase(java.lang.String wildcardExpression)
           
static
<T extends java.lang.Comparable<T>>
Specification<T>
SpecificationFactory.moreThan(T value)
           
static
<T> Specification<T>
SpecificationFactory.neitherOf(Specification<T>... specifications)
           
static
<T> Specification<T>
SpecificationFactory.not(Specification<T> specification)
           
static
<T> Specification<T>
SpecificationFactory.not(T object)
           
static
<T> Specification<T>
SpecificationFactory.objectEqualTo(T value)
           
 

Methods in net.sourceforge.domian.specification with parameters of type Specification
static
<T> CompositeSpecification<T>
SpecificationFactory.a(Specification<T> specification)
           
static
<T> CompositeSpecification<T>
SpecificationFactory.allOf(Specification<T>... specifications)
           
static
<T> CompositeSpecification<T>
SpecificationFactory.an(Specification<T> specification)
           
 CompositeSpecification<T> CompositeSpecification.and(Specification<T> specification)
          Creates a conjunction out of two specifications:
  • This composite specification
  • The given specification parameter
  •  CompositeSpecification<T> AbstractCompositeSpecification.and(Specification<T> specification)
               
    <F> CompositeSpecification<T>
    CompositeSpecification.and(java.lang.String accessibleObjectName, Specification<F> accessibleObjectSpecification)
              Creates a conjunction of two specifications:
  • This composite specification
  • A parameterized specification based on the java.lang.reflect.AccessibleObject name parameter and the accompanying specification parameter
  • <F> CompositeSpecification<T>
    AbstractCompositeSpecification.and(java.lang.String accessibleObjectName, Specification<F> accessibleObjectSpecification)
               
    static
    <T> CompositeSpecification<T>
    SpecificationFactory.anyOf(Specification<T>... specifications)
               
    static
    <T> CompositeSpecification<T>
    SpecificationFactory.are(Specification<T> specification)
               
    static
    <T> CompositeSpecification<T>
    SpecificationFactory.both(Specification<T>... specifications)
               
    (package private) static
    <T,F> ParameterizedSpecification<T,F>
    ParameterizedSpecification.createParameterizedSpecification(java.lang.Class<T> declaringClass, java.lang.String accessibleObjectName, Specification<F> accessibleObjectSpecification)
              Rather ugly factory method for creating parameterized specifications...
    static
    <T> CompositeSpecification<T>
    SpecificationFactory.either(Specification<T>... specifications)
               
    static
    <T> CompositeSpecification<T>
    SpecificationFactory.eitherOf(Specification<T>... specifications)
               
    static CollectionSpecification<java.lang.Object> SpecificationFactory.hasSize(Specification<java.lang.Integer> collectionSpecification)
               
    static
    <F> CollectionSpecification<F>
    SpecificationFactory.hasSize(Specification<java.lang.Integer> collectionSpecification, java.lang.Class<F> elementType)
               
    static CollectionSpecification<java.lang.Object> SpecificationFactory.hasSizeOf(Specification<java.lang.Integer> collectionSpecification)
               
    static
    <F> CollectionSpecification<F>
    SpecificationFactory.hasSizeOf(Specification<java.lang.Integer> collectionSpecification, java.lang.Class<F> elementType)
               
    static CollectionSpecification<java.lang.Object> SpecificationFactory.haveSize(Specification<java.lang.Integer> collectionSpecification)
               
    static
    <F> CollectionSpecification<F>
    SpecificationFactory.haveSize(Specification<java.lang.Integer> collectionSpecification, java.lang.Class<F> elementType)
               
    static CollectionSpecification<java.lang.Object> SpecificationFactory.haveSizeOf(Specification<java.lang.Integer> collectionSpecification)
               
    static
    <F> CollectionSpecification<F>
    SpecificationFactory.haveSizeOf(Specification<java.lang.Integer> collectionSpecification, java.lang.Class<F> elementType)
               
    static
    <T> CompositeSpecification<T>
    SpecificationFactory.in(Specification<T>... specifications)
               
    static
    <F> CollectionSpecification<F>
    SpecificationFactory.include(Specification<java.lang.Integer> collectionSpecification, Specification<F> elementSpecification)
               
    static
    <F> CollectionSpecification<F>
    SpecificationFactory.include(Specification<java.lang.Integer> collectionSpecification, Specification<F> elementSpecification)
               
    static
    <F> CollectionSpecification<F>
    SpecificationFactory.includeAPercentageOf(Specification<java.lang.Integer> collectionSpecification, Specification<F> elementSpecification)
               
    static
    <F> CollectionSpecification<F>
    SpecificationFactory.includeAPercentageOf(Specification<java.lang.Integer> collectionSpecification, Specification<F> elementSpecification)
               
    static
    <F> CollectionSpecification<F>
    SpecificationFactory.includes(Specification<java.lang.Integer> collectionSpecification, Specification<F> elementSpecification)
               
    static
    <F> CollectionSpecification<F>
    SpecificationFactory.includes(Specification<java.lang.Integer> collectionSpecification, Specification<F> elementSpecification)
               
    static
    <F> CollectionSpecification<F>
    SpecificationFactory.includesAPercentageOf(Specification<java.lang.Integer> collectionSpecification, Specification<F> elementSpecification)
               
    static
    <F> CollectionSpecification<F>
    SpecificationFactory.includesAPercentageOf(Specification<java.lang.Integer> collectionSpecification, Specification<F> elementSpecification)
               
    static
    <T> CompositeSpecification<T>
    SpecificationFactory.is(Specification<T> specification)
               
    static
    <T> CompositeSpecification<T>
    SpecificationFactory.isA(Specification<T> specification)
               
    static
    <T> CompositeSpecification<T>
    SpecificationFactory.isAllOf(Specification<T>... specifications)
               
    static
    <T> CompositeSpecification<T>
    SpecificationFactory.isAn(Specification<T> specification)
               
    static
    <T> CompositeSpecification<T>
    SpecificationFactory.isBoth(Specification<T>... specifications)
               
    (package private)  java.lang.Boolean AbstractCompositeSpecification.isDisjointWith(Specification<T> specification)
              Two specifications are disjoint if the two sets of satisfiable objects have no objects in common.
    static
    <T> CompositeSpecification<T>
    SpecificationFactory.isEither(Specification<T>... specifications)
               
    static
    <T> CompositeSpecification<T>
    SpecificationFactory.isEitherOf(Specification<T>... specifications)
               
    static
    <T> CompositeSpecification<T>
    SpecificationFactory.isEitherThe(Specification<T>... specifications)
               
    static
    <T> CompositeSpecification<T>
    SpecificationFactory.isFrom(Specification<T> specification)
               
     java.lang.Boolean Specification.isGeneralizationOf(Specification<? extends T> specification)
              Specification subsumption.
     java.lang.Boolean NotNullSpecification.isGeneralizationOf(Specification<? extends T> specification)
               
     java.lang.Boolean AbstractSpecification.isGeneralizationOf(Specification<? extends T> specification)
              Specification subsumption.
     java.lang.Boolean AbstractCompositeSpecification.isGeneralizationOf(Specification<? extends T> specification)
               
    static
    <T> CompositeSpecification<T>
    SpecificationFactory.isOneOf(Specification<T>... specifications)
               
    static
    <T> CompositeSpecification<T>
    SpecificationFactory.isSatisfiedBy(Specification<T> specification)
               
     java.lang.Boolean Specification.isSpecialCaseOf(Specification<? super T> specification)
              Specification subsumption.
     java.lang.Boolean AbstractSpecification.isSpecialCaseOf(Specification<? super T> specification)
              Specification subsumption.
     java.lang.Boolean AbstractCompositeSpecification.isSpecialCaseOf(Specification<? super T> specification)
               
    static
    <T> Specification<T>
    SpecificationFactory.neitherOf(Specification<T>... specifications)
               
    static
    <T> Specification<T>
    SpecificationFactory.not(Specification<T> specification)
               
    static
    <T> CompositeSpecification<T>
    SpecificationFactory.oneOf(Specification<T>... specifications)
               
     CompositeSpecification<T> CompositeSpecification.or(Specification<T> specification)
              Creates a disjunction out of two specifications:
  • This composite specification
  • The given specification parameter
  •  CompositeSpecification<T> AbstractCompositeSpecification.or(Specification<T> specification)
               
    <F> CompositeSpecification<T>
    CompositeSpecification.or(java.lang.String accessibleObjectName, Specification<F> accessibleObjectSpecification)
              Creates a disjunction of two specifications:
  • This composite specification
  • A parameterized specification based on the java.lang.reflect.AccessibleObject name parameter and the accompanying specification parameter
  • <F> CompositeSpecification<T>
    AbstractCompositeSpecification.or(java.lang.String accessibleObjectName, Specification<F> accessibleObjectSpecification)
               
    static
    <T> CompositeSpecification<T>
    SpecificationFactory.shouldBe(Specification<T>... specifications)
               
    static
    <T> CompositeSpecification<T>
    SpecificationFactory.shouldBeAllOf(Specification<T>... specifications)
               
    static
    <T> CompositeSpecification<T>
    SpecificationFactory.shouldBeBoth(Specification<T>... specifications)
               
    static
    <T> CompositeSpecification<T>
    SpecificationFactory.shouldBeEitherOf(Specification<T>... specifications)
               
    static
    <T> CompositeSpecification<T>
    SpecificationFactory.shouldBeOneOf(Specification<T>... specifications)
               
    static java.lang.Boolean SpecificationUtils.typeSafeIsSatisfiedBy(Specification specification, java.lang.Object candidate)
              Raw, yet type-safe version of Specification.isSatisfiedBy().
    <F> CompositeSpecification<T>
    CompositeSpecification.where(java.lang.String accessibleObjectName, Specification<F> accessibleObjectSpecification)
              Alias of and method.
    <F> CompositeSpecification<T>
    AbstractCompositeSpecification.where(java.lang.String accessibleObjectName, Specification<F> accessibleObjectSpecification)
               
    (package private)  CompositeSpecification<T> AbstractCompositeSpecification.wrapWithNewSpecification(AbstractCompositeSpecification<T> newSpecification, Specification<T> specificationToBeWrapped)
               
     

    Method parameters in net.sourceforge.domian.specification with type arguments of type Specification
    (package private)  void ParameterizedSpecification.getAllSpecifications(java.util.Set<Specification> specificationSet)
               
    (package private)  void AbstractSpecification.getAllSpecifications(java.util.Set<Specification> specificationSet)
              Populates the given set of specifications with all Specification objects in this object graph.
    (package private)  void AbstractCompositeSpecification.getAllSpecifications(java.util.Set<Specification> specificationSet)
               
     

    Constructors in net.sourceforge.domian.specification with parameters of type Specification
    CollectionSpecification(CollectionSpecification.CollectionSpecificationScope collectionSpecificationScope, Specification<java.lang.Integer> collectionSpecification)
               
    CollectionSpecification(CollectionSpecification.CollectionSpecificationScope collectionSpecificationScope, Specification<java.lang.Integer> collectionSpecification, java.lang.Class<F> elementType)
               
    CollectionSpecification(CollectionSpecification.CollectionSpecificationScope collectionSpecificationScope, Specification<java.lang.Integer> collectionSpecification, Specification<F> elementSpecification)
               
    CollectionSpecification(CollectionSpecification.CollectionSpecificationScope collectionSpecificationScope, Specification<java.lang.Integer> collectionSpecification, Specification<F> elementSpecification)
               
    FieldParameterizedSpecification(java.lang.Class<T> declaringClass, java.lang.reflect.Field field, Specification<F> accessibleObjectSpecification)
               
    MethodParameterizedSpecification(java.lang.Class<T> declaringClass, java.lang.reflect.Method method, Specification<F> accessibleObjectSpecification)
               
     



    Copyright © 2006-2009. All Rights Reserved.