Package org.jupnp.model.meta
Klasse Service<D extends Device,S extends Service>
java.lang.Object
org.jupnp.model.meta.Service<D,S>
- Bekannte direkte Unterklassen:
LocalService,RemoteService
The metadata of a service, with actions and state variables.
- Autor:
- Christian Bauer
-
Konstruktorübersicht
KonstruktorenModifiziererKonstruktorBeschreibungprotectedService(ServiceType serviceType, ServiceId serviceId) protectedService(ServiceType serviceType, ServiceId serviceId, Action<S>[] actions, StateVariable<S>[] stateVariables) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibunggetDatatype(ActionArgument argument) abstract ActiongetRelatedStateVariable(ActionArgument argument) getStateVariable(String name) StateVariable<S>[]booleanbooleantoString()validate()
-
Konstruktordetails
-
Service
- Löst aus:
ValidationException
-
Service
protected Service(ServiceType serviceType, ServiceId serviceId, Action<S>[] actions, StateVariable<S>[] stateVariables) throws ValidationException - Löst aus:
ValidationException
-
-
Methodendetails
-
getServiceType
-
getServiceId
-
hasActions
public boolean hasActions() -
getActions
-
hasStateVariables
public boolean hasStateVariables() -
getStateVariables
-
getDevice
-
getAction
-
getStateVariable
-
getRelatedStateVariable
-
getDatatype
-
getReference
-
validate
-
getQueryStateVariableAction
-
toString
-