Cross Reference: ValueDataImpl.java
xref
: /
owl-s
/
src
/
impl
/
owls
/
process
/
ValueDataImpl.java
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
1516
N/A
/*
941
N/A
* Created on Dec 30, 2004
941
N/A
*/
941
N/A
package
impl
.
owls
.
process
;
941
N/A
941
N/A
import
impl
.
owl
.
OWLObjectImpl
;
941
N/A
import
impl
.
owls
.
process
.
binding
.
InputBindingImpl
;
941
N/A
import
impl
.
owls
.
process
.
binding
.
OutputBindingImpl
;
941
N/A
941
N/A
import
org
.
mindswap
.
owl
.
OWLIndividual
;
941
N/A
import
org
.
mindswap
.
owl
.
OWLValue
;
941
N/A
import
org
.
mindswap
.
owls
.
process
.
Binding
;
941
N/A
import
org
.
mindswap
.
owls
.
process
.
InputBinding
;
941
N/A
import
org
.
mindswap
.
owls
.
process
.
ValueData
;
941
N/A
import
org
.
mindswap
.
owls
.
vocabulary
.
OWLS
;
941
N/A
941
N/A
/**
941
N/A
*
@author
Evren Sirin
941
N/A
*
941
N/A
*/
941
N/A
public
class
ValueDataImpl
extends
OWLObjectImpl
implements
ValueData
{
941
N/A
private
OWLValue
value
;
2185
N/A
941
N/A
public
ValueDataImpl
(
OWLValue
value
) {
941
N/A
this
.
value
=
value
;
941
N/A
}
941
N/A
1715
N/A
public
OWLValue
getData
() {
941
N/A
return
value
;
1230
N/A
}
1230
N/A
941
N/A
public
Object
getImplementation
() {
941
N/A
return
getData
().
getImplementation
();
941
N/A
}
1230
N/A
1230
N/A
public
Binding
getEnclosingBinding
() {
941
N/A
Binding
binding
=
null
;
1230
N/A
if
(
this
instanceof
OWLIndividual
) {
1291
N/A
OWLIndividual
ind
= (
OWLIndividual
)
this
;
941
N/A
OWLIndividual
uncastedBinding
=
ind
.
getIncomingProperty
(
OWLS
.
Process
.
valueSource
);
941
N/A
941
N/A
if
(
uncastedBinding
instanceof
InputBinding
)
941
N/A
binding
=
new
InputBindingImpl
(
ind
.
getIncomingProperty
(
OWLS
.
Process
.
valueSource
));
941
N/A
else
941
N/A
binding
=
new
OutputBindingImpl
(
ind
.
getIncomingProperty
(
OWLS
.
Process
.
valueSource
));
1286
N/A
}
941
N/A
return
binding
;
941
N/A
}
1635
N/A
}
941
N/A