Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.teleal.cling.model.meta
Class Action<S extends Service>

    java.lang.Object
      org.teleal.cling.model.meta.Action<S>

All Implemented Interfaces:
  Validatable

Direct Known Subclasses:
  QueryStateVariableAction

    public class Action<S extends Service>

extends Object
implements Validatable

Describes an action and its input/output arguments.

Author:
  Christian Bauer

Constructor Summary
`Action(String name, ActionArgument[] arguments)`

Method Summary
`Action<S>` | `deepCopy()`
`ActionArgument[]` | `getArguments()`
`ActionArgument<S>` | `getFirstInputArgument()`
`ActionArgument<S>` | `getFirstOutputArgument()`
`ActionArgument<S>` | `getInputArgument(String name)`
`ActionArgument<S>[]` | `getInputArguments()`
`String` | `getName()`
`ActionArgument<S>` | `getOutputArgument(String name)`
`ActionArgument<S>[]` | `getOutputArguments()`
`S` | `getService()`
`boolean` | `hasArguments()`
`boolean` | `hasInputArguments()`
`boolean` | `hasOutputArguments()`
`String` | `toString()`
`List<ValidationError>` | `validate()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### Action

    public Action(String name,
                  ActionArgument[] arguments)

Method Detail

### getName

    public String getName()

### hasArguments

    public boolean hasArguments()

### getArguments

    public ActionArgument[] getArguments()

### getService

    public S getService()

### getFirstInputArgument

    public ActionArgument<S> getFirstInputArgument()

### getFirstOutputArgument

    public ActionArgument<S> getFirstOutputArgument()

### getInputArguments

    public ActionArgument<S>[] getInputArguments()

### getInputArgument

    public ActionArgument<S> getInputArgument(String name)

### getOutputArguments

    public ActionArgument<S>[] getOutputArguments()

### getOutputArgument

    public ActionArgument<S> getOutputArgument(String name)

### hasInputArguments

    public boolean hasInputArguments()

### hasOutputArguments

    public boolean hasOutputArguments()

### toString

    public String toString()

  Overrides:
    `toString` in class `Object`

### validate

    public List<ValidationError> validate()

  Specified by:
    `validate` in interface `Validatable`
  Returns:
    An empty `List` if all rules validated properly, otherwise, the detected errors.

### deepCopy

    public Action<S> deepCopy()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2011 Teleal GmbH, Switzerland. All Rights Reserved.