Cross Reference: JavaVariableImpl.java
xref
: /
owl-s
/
src
/
impl
/
owls
/
grounding
/
JavaVariableImpl.java
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
24
daenzerorama
package
impl
.
owls
.
grounding
;
24
daenzerorama
24
daenzerorama
import
impl
.
owl
.
WrappedIndividual
;
24
daenzerorama
24
daenzerorama
import
org
.
mindswap
.
owl
.
OWLIndividual
;
24
daenzerorama
import
org
.
mindswap
.
owls
.
grounding
.
JavaVariable
;
24
daenzerorama
import
org
.
mindswap
.
owls
.
process
.
Parameter
;
24
daenzerorama
import
org
.
mindswap
.
owls
.
vocabulary
.
MoreGroundings
;
24
daenzerorama
import
org
.
mindswap
.
owls
.
vocabulary
.
OWLS
;
24
daenzerorama
24
daenzerorama
public
class
JavaVariableImpl
extends
WrappedIndividual
implements
JavaVariable
{
24
daenzerorama
public
JavaVariableImpl
(
OWLIndividual
ind
) {
24
daenzerorama
super
(
ind
);
24
daenzerorama
}
24
daenzerorama
24
daenzerorama
public
String
getJavaType
() {
24
daenzerorama
return
getPropertyAsString
(
MoreGroundings
.
javaType
);
24
daenzerorama
}
24
daenzerorama
24
daenzerorama
public
Parameter
getOWLSParameter
() {
25
daenzerorama
return
(
Parameter
)
getPropertyAs
(
MoreGroundings
.
owlsParameter
,
Parameter
.
class
);
24
daenzerorama
}
24
daenzerorama
24
daenzerorama
public
void
removeJavaType
() {
24
daenzerorama
if
(
hasProperty
(
MoreGroundings
.
javaType
))
24
daenzerorama
removeProperties
(
MoreGroundings
.
javaType
);
24
daenzerorama
}
24
daenzerorama
24
daenzerorama
public
void
removeOWLSParameter
() {
25
daenzerorama
if
(
hasProperty
(
MoreGroundings
.
owlsParameter
))
25
daenzerorama
removeProperties
(
MoreGroundings
.
owlsParameter
);
24
daenzerorama
}
24
daenzerorama
24
daenzerorama
public
void
setJavaType
(
String
type
) {
24
daenzerorama
setProperty
(
MoreGroundings
.
javaType
,
type
);
24
daenzerorama
}
24
daenzerorama
24
daenzerorama
public
void
setOWLSParameter
(
Parameter
parameter
) {
24
daenzerorama
setProperty
(
OWLS
.
Grounding
.
owlsParameter
,
parameter
);
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
}