org.fourthline.cling.model.types

## Class NamedServiceType

- java.lang.Object
- - org.fourthline.cling.model.types.NamedServiceType

-     public class NamedServiceType
      extends Object

  Combines a `UDN` with a `ServiceType`, string representation is separated by double-colon.
  Author:
    Christian Bauer

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `NamedServiceType(UDN udn, ServiceType serviceType)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(Object o)`
    `ServiceType` | `getServiceType()`
    `UDN` | `getUdn()`
    `int` | `hashCode()`
    `String` | `toString()`
    `static NamedServiceType` | `valueOf(String s)`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### NamedServiceType

          public NamedServiceType(UDN udn,
                          ServiceType serviceType)

  - ### Method Detail

    - #### getUdn

          public UDN getUdn()

    - #### getServiceType

          public ServiceType getServiceType()

    - #### valueOf

          public static NamedServiceType valueOf(String s)
                                          throws InvalidValueException

      Throws:
        `InvalidValueException`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

    - #### equals

          public boolean equals(Object o)

      Overrides:
        `equals` in class `Object`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`

Copyright © 2014 4th Line GmbH, Switzerland. All Rights Reserved.