Class ServiceDefinition
java.lang.Object
com.trdp.config.ServiceDefinition
Service-oriented interface definition (
<service> element).
Defines a service with its events, fields, methods, device bindings, and telegram references. Used for AUTOSAR-style service discovery and communication.
-
Constructor Summary
ConstructorsConstructorDescriptionServiceDefinition(String name, long id, Long ttl, String dummyService, List<ServiceEvent> events, List<ServiceField> fields, List<ServiceMethod> methods, List<ServiceDevice> serviceDevices, List<TelegramRef> telegramRefs) -
Method Summary
-
Constructor Details
-
ServiceDefinition
public ServiceDefinition(String name, long id, Long ttl, String dummyService, List<ServiceEvent> events, List<ServiceField> fields, List<ServiceMethod> methods, List<ServiceDevice> serviceDevices, List<TelegramRef> telegramRefs)
-
-
Method Details
-
getName
-
getId
public long getId() -
getTtl
public long getTtl() -
isDummyService
public boolean isDummyService() -
getEvents
-
getFields
-
getMethods
-
getServiceDevices
-
getTelegramRefs
-
toString
-