org.deri.wsmo4j.logicalexpression
Class AttributeMoleculeImpl

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

public abstract class AttributeMoleculeImpl
extends MoleculeImpl
implements org.omwg.logicalexpression.AttributeMolecule

Author:
DERI Innsbruck, reto.krummenacher@deri.org, DERI Innsbruck, thomas.haselwanter@deri.org, Holger Lausen (holger.lausen@deri.org)
See Also:
org.omwg.logicalexpression.AttributeSpecification

Field Summary
protected  org.omwg.logicalexpression.terms.Term attributeName
           
 
Constructor Summary
AttributeMoleculeImpl(org.omwg.logicalexpression.terms.Term leftTerm, org.omwg.logicalexpression.terms.Term attributeName, org.omwg.logicalexpression.terms.Term rightTerm)
           
 
Method Summary
 org.omwg.logicalexpression.terms.Term getAttribute()
           
 void setAttribute(org.omwg.logicalexpression.terms.Term t)
           
 
Methods inherited from class org.deri.wsmo4j.logicalexpression.MoleculeImpl
equals, 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.Molecule
getLeftParameter, getRightParameter, setLeftOperand, setRightOperand
 
Methods inherited from interface org.omwg.logicalexpression.LogicalExpression
accept, toString
 

Field Detail

attributeName

protected org.omwg.logicalexpression.terms.Term attributeName
Constructor Detail

AttributeMoleculeImpl

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

getAttribute

public org.omwg.logicalexpression.terms.Term getAttribute()
Specified by:
getAttribute in interface org.omwg.logicalexpression.AttributeMolecule
Returns:
the name of the attribute specified
See Also:
org.omwg.logicalexpression.AttributeSpecification#getName()

setAttribute

public void setAttribute(org.omwg.logicalexpression.terms.Term t)
                  throws IllegalArgumentException
Specified by:
setAttribute in interface org.omwg.logicalexpression.AttributeMolecule
Throws:
IllegalArgumentException


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