24daenzeroramapackage impl.owls.grounding;
24daenzerorama
24daenzeroramaimport org.mindswap.owl.OWLIndividual;
24daenzeroramaimport org.mindswap.owls.grounding.JavaParameter;
24daenzeroramaimport org.mindswap.owls.vocabulary.MoreGroundings;
24daenzerorama
24daenzeroramapublic class JavaParameterImpl extends JavaVariableImpl implements
24daenzerorama JavaParameter {
24daenzerorama
24daenzerorama public JavaParameterImpl(OWLIndividual ind) {
24daenzerorama super(ind);
24daenzerorama }
24daenzerorama
24daenzerorama public String getParameterIndex() {
30daenzerorama if (hasProperty(MoreGroundings.paramIndex))
30daenzerorama return getProperty(MoreGroundings.paramIndex).getLexicalValue();
30daenzerorama return "";
24daenzerorama }
24daenzerorama
24daenzerorama public void removeParameterIndex() {
24daenzerorama if (hasProperty(MoreGroundings.paramIndex))
24daenzerorama removeProperties(MoreGroundings.paramIndex);
24daenzerorama }
24daenzerorama
24daenzerorama public void setParameterIndex(int index) {
24daenzerorama setProperty(MoreGroundings.paramIndex, index);
24daenzerorama }
24daenzerorama
30daenzerorama public String getTransformator() {
30daenzerorama if (hasProperty(MoreGroundings.transformatorClass))
30daenzerorama return getProperty(MoreGroundings.transformatorClass).getLexicalValue();
30daenzerorama return "";
30daenzerorama }
30daenzerorama
30daenzerorama public void removeTransformator() {
30daenzerorama if (hasProperty(MoreGroundings.transformatorClass))
30daenzerorama removeProperties(MoreGroundings.transformatorClass);
30daenzerorama }
30daenzerorama
30daenzerorama public void setTransformator(String transformator) {
30daenzerorama setProperty(MoreGroundings.transformatorClass, transformator);
30daenzerorama }
30daenzerorama
24daenzerorama}