Class Repeatable
java.lang.Object
groovy.lang.GroovyObjectSupport
groovy.lang.Closure
org.openehealth.ipf.modules.hl7.dsl.Repeatable
- All Implemented Interfaces:
GroovyCallable, GroovyObject, Serializable, Cloneable, Iterable<Visitable>, Runnable, Callable
-
Field Summary
Fields inherited from class Closure
DELEGATE_FIRST, DELEGATE_ONLY, DONE, IDENTITY, maximumNumberOfParameters, OWNER_FIRST, OWNER_ONLY, parameterTypes, SKIP, TO_SELF -
Constructor Summary
ConstructorsConstructorDescriptionRepeatable(Object owner, Structure structure, Object index) Repeatable(Object owner, Object elements, Structure structure, Object index) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionbooleanprotected ObjectelementAt(int argument) voidgetAt(int index) getIndex()getPath()getProperty(String property) booleanisEmpty()iterator()methodMissing(String name, Object args) propertyMissing(String name) voidvoidsetStructure(Structure value) intsize()Methods inherited from class Closure
andThen, andThenSelf, andThenSelf, asWritable, call, call, call, clone, compose, composeSelf, composeSelf, curry, curry, dehydrate, getDelegate, getDirective, getMaximumNumberOfParameters, getOwner, getParameterTypes, getResolveStrategy, getThisObject, isCase, leftShift, leftShift, memoize, memoizeAtLeast, memoizeAtMost, memoizeBetween, ncurry, ncurry, rcurry, rcurry, rehydrate, rightShift, run, setDelegate, setDirective, setProperty, setResolveStrategy, throwRuntimeException, trampoline, trampolineMethods inherited from class GroovyObjectSupport
getMetaClass, setMetaClassMethods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface GroovyObject
invokeMethodMethods inherited from interface Iterable
forEach, spliterator
-
Constructor Details
-
Repeatable
-
Repeatable
Deprecated.
-
-
Method Details
-
getStructure
-
setStructure
-
getIndex
-
setIndex
-
currentElements
-
iterator
-
getProperty
- Specified by:
getPropertyin interfaceGroovyObject- Overrides:
getPropertyin classClosure
-
methodMissing
-
getAt
-
propertyMissing
-
from
-
encodeRepetitions
-
doCall
-
elementAt
-
size
public int size() -
isEmpty
public boolean isEmpty() -
asBoolean
public boolean asBoolean() -
getPath
-