org.deri.wsmo4j.logicalexpression
Class AttributeValueMoleculeImpl

java.lang.Object
  extended by org.deri.wsmo4j.logicalexpression.LogicalExpressionImpl
      extended by org.deri.wsmo4j.logicalexpression.MoleculeImpl
          extended by org.deri.wsmo4j.logicalexpression.AttributeMoleculeImpl
              extended by org.deri.wsmo4j.logicalexpression.AttributeValueMoleculeImpl
All Implemented Interfaces:
org.omwg.logicalexpression.AtomicExpression, org.omwg.logicalexpression.AttributeMolecule, org.omwg.logicalexpression.AttributeValueMolecule, org.omwg.logicalexpression.LogicalExpression, org.omwg.logicalexpression.Molecule

public class AttributeValueMoleculeImpl
extends AttributeMoleculeImpl
implements org.omwg.logicalexpression.AttributeValueMolecule

Author:
DERI Innsbruck, reto.krummenacher@deri.org, DERI Innsbruck, thomas.haselwanter@deri.org, DERI Innsbruck, holger.lausen@deri.org

Field Summary
 
Fields inherited from class org.deri.wsmo4j.logicalexpression.AttributeMoleculeImpl
attributeName
 
Constructor Summary
AttributeValueMoleculeImpl(org.omwg.logicalexpression.terms.Term leftTerm, org.omwg.logicalexpression.terms.Term attributeName, org.omwg.logicalexpression.terms.Term rightTerm)
           
 
Method Summary
 void accept(org.omwg.logicalexpression.Visitor v)
           
 boolean equals(Object o)
           The equals method implements an equivalence relation on non-null object references.
 
Methods inherited from class org.deri.wsmo4j.logicalexpression.AttributeMoleculeImpl
getAttribute, setAttribute
 
Methods inherited from class org.deri.wsmo4j.logicalexpression.MoleculeImpl
getLeftParameter, getRightParameter, hashCode, setLeftOperand, setRightOperand
 
Methods inherited from class org.deri.wsmo4j.logicalexpression.LogicalExpressionImpl
getStringRepresentation, setStringRepresentation, toString, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.omwg.logicalexpression.AttributeMolecule
getAttribute, setAttribute
 
Methods inherited from interface org.omwg.logicalexpression.Molecule
getLeftParameter, getRightParameter, setLeftOperand, setRightOperand
 
Methods inherited from interface org.omwg.logicalexpression.LogicalExpression
toString
 

Constructor Detail

AttributeValueMoleculeImpl

public AttributeValueMoleculeImpl(org.omwg.logicalexpression.terms.Term leftTerm,
                                  org.omwg.logicalexpression.terms.Term attributeName,
                                  org.omwg.logicalexpression.terms.Term rightTerm)
Method Detail

accept

public void accept(org.omwg.logicalexpression.Visitor v)
Specified by:
accept in interface org.omwg.logicalexpression.LogicalExpression

equals

public boolean equals(Object o)

The equals method implements an equivalence relation on non-null object references. Attribute Specifications are equal if their operator, their name and their arguments are equal.

It is generally necessary to override the hashCode method whenever this method is overridden.

Overrides:
equals in class MoleculeImpl
Parameters:
o - the reference object with which to compare.
Returns:
true if this object is the same as the obj argument; false otherwise.
See Also:
Object.equals(java.lang.Object), Object.hashCode()


Copyright © 2004-2008 Ontotext Lab.. All Rights Reserved.