Cross Reference: RepeatUntilImpl.java
xref
: /
owl-s
/
src
/
impl
/
owls
/
process
/
constructs
/
RepeatUntilImpl.java
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
2
ronwalf
/*
2
ronwalf
* Created on Aug 30, 2004
2
ronwalf
*/
22
daenzerorama
package
impl
.
owls
.
process
.
constructs
;
2
ronwalf
2
ronwalf
import
org
.
mindswap
.
owl
.
OWLIndividual
;
2
ronwalf
import
org
.
mindswap
.
owls
.
process
.
Condition
;
2
ronwalf
import
org
.
mindswap
.
owls
.
process
.
ControlConstruct
;
2
ronwalf
import
org
.
mindswap
.
owls
.
process
.
RepeatUntil
;
2
ronwalf
import
org
.
mindswap
.
owls
.
vocabulary
.
OWLS
;
2
ronwalf
2
ronwalf
/**
2
ronwalf
*
@author
Evren Sirin
2
ronwalf
*/
2
ronwalf
public
class
RepeatUntilImpl
extends
IterateImpl
implements
RepeatUntil
{
2
ronwalf
public
RepeatUntilImpl
(
OWLIndividual
ind
) {
2
ronwalf
super
(
ind
);
2
ronwalf
}
2
ronwalf
2
ronwalf
public
Condition
getCondition
() {
2
ronwalf
return
(
Condition
)
getPropertyAs
(
OWLS
.
Process
.
untilCondition
,
Condition
.
class
);
2
ronwalf
}
2
ronwalf
2
ronwalf
public
void
setCondition
(
Condition
condition
) {
2
ronwalf
setProperty
(
OWLS
.
Process
.
untilCondition
,
condition
);
2
ronwalf
}
2
ronwalf
2
ronwalf
public
ControlConstruct
getComponent
() {
2
ronwalf
return
(
ControlConstruct
)
getPropertyAs
(
OWLS
.
Process
.
untilProcess
,
ControlConstruct
.
class
);
2
ronwalf
}
2
ronwalf
2
ronwalf
public
void
setComponent
(
ControlConstruct
component
) {
2
ronwalf
setProperty
(
OWLS
.
Process
.
untilProcess
,
component
);
2
ronwalf
}
2
ronwalf
2
ronwalf
public
String
getConstructName
() {
2
ronwalf
return
"Repeat-Until"
;
2
ronwalf
}
18
daenzerorama
18
daenzerorama
public
void
removeComponent
() {
18
daenzerorama
if
(
hasProperty
(
OWLS
.
Process
.
untilProcess
))
18
daenzerorama
removeProperties
(
OWLS
.
Process
.
untilProcess
);
16
daenzerorama
}
2
ronwalf
}