Cross Reference: JavaParameterImpl.java
xref
: /
owl-s
/
src
/
impl
/
owls
/
grounding
/
JavaParameterImpl.java
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
24
daenzerorama
package
impl
.
owls
.
grounding
;
24
daenzerorama
24
daenzerorama
import
org
.
mindswap
.
owl
.
OWLIndividual
;
24
daenzerorama
import
org
.
mindswap
.
owls
.
grounding
.
JavaParameter
;
24
daenzerorama
import
org
.
mindswap
.
owls
.
vocabulary
.
MoreGroundings
;
24
daenzerorama
24
daenzerorama
public
class
JavaParameterImpl
extends
JavaVariableImpl
implements
24
daenzerorama
JavaParameter
{
24
daenzerorama
24
daenzerorama
public
JavaParameterImpl
(
OWLIndividual
ind
) {
24
daenzerorama
super
(
ind
);
24
daenzerorama
}
24
daenzerorama
24
daenzerorama
public
String
getParameterIndex
() {
30
daenzerorama
if
(
hasProperty
(
MoreGroundings
.
paramIndex
))
30
daenzerorama
return
getProperty
(
MoreGroundings
.
paramIndex
).
getLexicalValue
();
30
daenzerorama
return
""
;
24
daenzerorama
}
24
daenzerorama
24
daenzerorama
public
void
removeParameterIndex
() {
24
daenzerorama
if
(
hasProperty
(
MoreGroundings
.
paramIndex
))
24
daenzerorama
removeProperties
(
MoreGroundings
.
paramIndex
);
24
daenzerorama
}
24
daenzerorama
24
daenzerorama
public
void
setParameterIndex
(
int
index
) {
24
daenzerorama
setProperty
(
MoreGroundings
.
paramIndex
,
index
);
24
daenzerorama
}
24
daenzerorama
30
daenzerorama
public
String
getTransformator
() {
30
daenzerorama
if
(
hasProperty
(
MoreGroundings
.
transformatorClass
))
30
daenzerorama
return
getProperty
(
MoreGroundings
.
transformatorClass
).
getLexicalValue
();
30
daenzerorama
return
""
;
30
daenzerorama
}
30
daenzerorama
30
daenzerorama
public
void
removeTransformator
() {
30
daenzerorama
if
(
hasProperty
(
MoreGroundings
.
transformatorClass
))
30
daenzerorama
removeProperties
(
MoreGroundings
.
transformatorClass
);
30
daenzerorama
}
30
daenzerorama
30
daenzerorama
public
void
setTransformator
(
String
transformator
) {
30
daenzerorama
setProperty
(
MoreGroundings
.
transformatorClass
,
transformator
);
30
daenzerorama
}
30
daenzerorama
24
daenzerorama
}