com.ontotext.wsmo4j.ontology
Class ComplexDataValueImpl

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

public class ComplexDataValueImpl
extends Object
implements org.omwg.ontology.ComplexDataValue


Constructor Summary
ComplexDataValueImpl(org.omwg.ontology.ComplexDataType type, org.omwg.ontology.SimpleDataValue vals)
           
ComplexDataValueImpl(org.omwg.ontology.ComplexDataType type, org.omwg.ontology.SimpleDataValue[] vals)
           
 
Method Summary
 void accept(org.omwg.logicalexpression.terms.Visitor v)
           
 String asString()
           
 boolean equals(Object object)
           
 org.omwg.ontology.SimpleDataValue getArgumentValue(byte pos)
           
 int getArity()
           
 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

ComplexDataValueImpl

public ComplexDataValueImpl(org.omwg.ontology.ComplexDataType type,
                            org.omwg.ontology.SimpleDataValue[] vals)

ComplexDataValueImpl

public ComplexDataValueImpl(org.omwg.ontology.ComplexDataType type,
                            org.omwg.ontology.SimpleDataValue vals)
Method Detail

getType

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

getArity

public int getArity()
Specified by:
getArity in interface org.omwg.ontology.ComplexDataValue

getArgumentValue

public org.omwg.ontology.SimpleDataValue getArgumentValue(byte pos)
Specified by:
getArgumentValue in interface org.omwg.ontology.ComplexDataValue

asString

public String asString()

getValue

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

toString

public String toString()
Overrides:
toString in class Object

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 object)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


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