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 Service<S extends Service>

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

Direct Known Subclasses:
  LocalService, RemoteService

    public abstract class Service<S extends Service>

extends Object

Constructor Summary
`Service(Action<S>[] actions, StateVariable<S>[] stateVariables)`
`Service(UDAVersion version, Action<S>[] actions, StateVariable<S>[] stateVariables)`

Method Summary
`Action<S>` | `getAction(String name)`
`Action<S>[]` | `getActions()`
`Datatype<S>` | `getDatatype(ActionArgument argument)`
`DeviceService<S>` | `getDeviceService()`
`abstract Action` | `getQueryStateVariableAction()`
`StateVariable<S>` | `getRelatedStateVariable(ActionArgument argument)`
`StateVariable<S>` | `getStateVariable(String name)`
`StateVariable<S>[]` | `getStateVariables()`
`UDAVersion` | `getVersion()`
`boolean` | `hasActions()`
`boolean` | `hasStateVariables()`
`String` | `toString()`
`List<ValidationError>` | `validate()`

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

Constructor Detail

### Service

    public Service(Action<S>[] actions,
                   StateVariable<S>[] stateVariables)
            throws ValidationException

Throws:
  `ValidationException`

### Service

    public Service(UDAVersion version,
                   Action<S>[] actions,
                   StateVariable<S>[] stateVariables)
            throws ValidationException

Throws:
  `ValidationException`

Method Detail

### getVersion

    public UDAVersion getVersion()

### hasActions

    public boolean hasActions()

### getActions

    public Action<S>[] getActions()

### hasStateVariables

    public boolean hasStateVariables()

### getStateVariables

    public StateVariable<S>[] getStateVariables()

### getDeviceService

    public DeviceService<S> getDeviceService()

### getAction

    public Action<S> getAction(String name)

### getStateVariable

    public StateVariable<S> getStateVariable(String name)

### getRelatedStateVariable

    public StateVariable<S> getRelatedStateVariable(ActionArgument argument)

### getDatatype

    public Datatype<S> getDatatype(ActionArgument argument)

### validate

    public List<ValidationError> validate()

### getQueryStateVariableAction

    public abstract Action getQueryStateVariableAction()

### toString

    public String toString()

  Overrides:
    `toString` in class `Object`

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 © 2010 Teleal GmbH, Switzerland. All Rights Reserved.