com.ontotext.wsmo4j.ontology
Class ComplexDataValueImpl
java.lang.Object
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)
|
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)
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.