org.omwg.mediation.language.objectModel
Class AttributeCondition

java.lang.Object
  extended by org.omwg.mediation.language.objectModel.Condition
      extended by org.omwg.mediation.language.objectModel.AttributeCondition
Direct Known Subclasses:
ClassExpressionValueCondition, DataLiteralValueCondition, ValueCondition

public abstract class AttributeCondition
extends Condition

Extends Condition. Creates an attribute condition with an assigned attribute id within a condition class (assigned class id). Has three extensions: ValueCondition, ClassExpressionValueCondition, & DataliteralValueCondition

Version:
$Revision: 1.4 $ $Date: 2005/06/20 09:54:04 $
Author:
Francois Scharffe, Adrian Mocan Created on 24-Mar-2005 Committed by $Author: grahamhench $ $Source: /cvsroot/dome//dome/src/org/omwg/mediation/language/objectModel/AttributeCondition.java,v $,

Constructor Summary
AttributeCondition(Id classId, Id attributeId)
          Contructs an attribute condition object with an attribute id and class id (to which it belongs)
 
Method Summary
 Id getAttributeID()
          Returns attribute condition Id when predefined
 Id getClassID()
          Returns the class Id (to which the attribute condition belongs) when predefined
 void setAttributeID(Id attributeID)
          Sets attribute condition Id
 void setClassID(Id classID)
          Sets the class Id (to which the attribute condition belongs)
 
Methods inherited from class org.omwg.mediation.language.objectModel.Condition
clone, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AttributeCondition

public AttributeCondition(Id classId,
                          Id attributeId)

Contructs an attribute condition object with an attribute id and class id (to which it belongs)

Parameters:
classId - (referring to the condition class that the attribute belongs)
attributeId -
Method Detail

getAttributeID

public Id getAttributeID()

Returns attribute condition Id when predefined

Returns:
attributeID

setAttributeID

public void setAttributeID(Id attributeID)

Sets attribute condition Id

Parameters:
attributeID -

getClassID

public Id getClassID()

Returns the class Id (to which the attribute condition belongs) when predefined

Returns:
classID

setClassID

public void setClassID(Id classID)

Sets the class Id (to which the attribute condition belongs)

Parameters:
classID -