com.elasticpath.persistence.support.impl
Class AbstractRelationCriterionImpl

java.lang.Object
  extended by com.elasticpath.persistence.support.impl.AbstractRelationCriterionImpl
All Implemented Interfaces:
RelationCriterion
Direct Known Subclasses:
HibernateRelationCriterionAndImpl, HibernateRelationCriterionOrImpl

public abstract class AbstractRelationCriterionImpl
extends java.lang.Object
implements RelationCriterion

RelationCriterion represents the relational criteria around two PropertyCriterion.


Constructor Summary
AbstractRelationCriterionImpl()
           
 
Method Summary
 PropertyCriterion getPropertyCriterion1()
          Gets the first PropertyCriterion.
 PropertyCriterion getPropertyCriterion2()
          Gets the second PropertyCriterion.
 void setPropertyCriterion1(PropertyCriterion propertyCriterion1)
          Sets the first PropertyCriterion.
 void setPropertyCriterion2(PropertyCriterion propertyCriterion2)
          Sets the second PropertyCriterion.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.elasticpath.persistence.support.RelationCriterion
getCriterion
 

Constructor Detail

AbstractRelationCriterionImpl

public AbstractRelationCriterionImpl()
Method Detail

getPropertyCriterion1

public PropertyCriterion getPropertyCriterion1()
Gets the first PropertyCriterion.

Specified by:
getPropertyCriterion1 in interface RelationCriterion
Returns:
the first PropertyCriterion.

getPropertyCriterion2

public PropertyCriterion getPropertyCriterion2()
Gets the second PropertyCriterion.

Specified by:
getPropertyCriterion2 in interface RelationCriterion
Returns:
the second PropertyCriterion.

setPropertyCriterion1

public void setPropertyCriterion1(PropertyCriterion propertyCriterion1)
Sets the first PropertyCriterion.

Specified by:
setPropertyCriterion1 in interface RelationCriterion
Parameters:
propertyCriterion1 - the first PropertyCriterion.

setPropertyCriterion2

public void setPropertyCriterion2(PropertyCriterion propertyCriterion2)
Sets the second PropertyCriterion.

Specified by:
setPropertyCriterion2 in interface RelationCriterion
Parameters:
propertyCriterion2 - the second PropertyCriterion.