org.gcube.contentmanagement.storagelayer.storagemanagementservice.stubs.filter.property
Class AndCondition
java.lang.Object
org.gcube.contentmanagement.storagelayer.storagemanagementservice.stubs.filter.property.AndCondition
- All Implemented Interfaces:
- PropertyCondition
public class AndCondition
- extends java.lang.Object
- implements PropertyCondition
- Author:
- Federico De Faveri defaveri@isti.cnr.it
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
AndCondition
public AndCondition(PropertyCondition leftCondition,
PropertyCondition rightCondition)
- Parameters:
leftCondition
- rightCondition
-
getConditionType
public PropertyConditionType getConditionType()
-
- Specified by:
getConditionType
in interface PropertyCondition
getLeftCondition
public PropertyCondition getLeftCondition()
- Returns:
- the leftCondition
getRightCondition
public PropertyCondition getRightCondition()
- Returns:
- the rightCondition
hashCode
public int hashCode()
-
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
-
- Overrides:
equals
in class java.lang.Object
contains
public boolean contains(PropertyCondition condition)
- Check if the specified condition is contained in this property condition tree.
- Specified by:
contains
in interface PropertyCondition
- Parameters:
condition
- the condition to find
- Returns:
true
if is present, false
otherwise.
toString
public java.lang.String toString()
-
- Overrides:
toString
in class java.lang.Object