com.ontotext.wsmo4j.ontology
Class SimpleDataValueImpl

java.lang.Object
  extended by com.ontotext.wsmo4j.ontology.SimpleDataValueImpl
All Implemented Interfaces:
org.omwg.logicalexpression.terms.Term, org.omwg.ontology.DataValue, org.omwg.ontology.SimpleDataValue, org.omwg.ontology.Value

public class SimpleDataValueImpl
extends Object
implements org.omwg.ontology.SimpleDataValue

Interface or class description

 Created on Sep 5, 2005
 Committed by $Author$
 

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

Constructor Summary
SimpleDataValueImpl(org.omwg.ontology.SimpleDataType type, BigDecimal value)
           
SimpleDataValueImpl(org.omwg.ontology.SimpleDataType type, BigInteger value)
           
SimpleDataValueImpl(org.omwg.ontology.SimpleDataType type, String value)
           
 
Method Summary
 void accept(org.omwg.logicalexpression.terms.Visitor v)
           
 String asString()
           
 boolean equals(Object o)
           
 org.omwg.ontology.WsmlDataType getType()
           
 Object getValue()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SimpleDataValueImpl

public SimpleDataValueImpl(org.omwg.ontology.SimpleDataType type,
                           String value)

SimpleDataValueImpl

public SimpleDataValueImpl(org.omwg.ontology.SimpleDataType type,
                           BigInteger value)

SimpleDataValueImpl

public SimpleDataValueImpl(org.omwg.ontology.SimpleDataType type,
                           BigDecimal value)
Method Detail

asString

public String asString()

toString

public String toString()
Overrides:
toString in class Object

getType

public org.omwg.ontology.WsmlDataType getType()
Specified by:
getType in interface org.omwg.ontology.DataValue

getValue

public Object getValue()
Specified by:
getValue in interface org.omwg.ontology.DataValue

accept

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

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


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