org.omwg.logicalexpression
Interface AttributeMolecule

All Superinterfaces:
AtomicExpression, LogicalExpression, Molecule
All Known Subinterfaces:
AttributeConstraintMolecule, AttributeInferenceMolecule, AttributeValueMolecule

public interface AttributeMolecule
extends Molecule

Represents the super class of all molecules containing attributes: (a[b hasValue c] or a[b ofType c] or a[b impliesType c])

 Created on Sep 19, 2005
 Committed by $Author$
 $Source$,
 

Version:
$Revision$ $Date$
Author:
Holger Lausen (holger.lausen@deri.org)

Method Summary
 Term getAttribute()
           
 void setAttribute(Term t)
           
 
Methods inherited from interface org.omwg.logicalexpression.Molecule
getLeftParameter, getRightParameter, setLeftOperand, setRightOperand
 
Methods inherited from interface org.omwg.logicalexpression.LogicalExpression
accept, toString
 

Method Detail

getAttribute

Term getAttribute()
Returns:
the Term which identifies the attribute of the molecule (e.g. on joe[age hasValue 5] getAttribute() will return "age")

setAttribute

void setAttribute(Term t)


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