Class ServiceMetaDataImpl

java.lang.Object
org.refcodes.servicebus.ServiceMetaDataImpl
All Implemented Interfaces:
org.refcodes.mixin.NameAccessor, org.refcodes.mixin.UniversalIdAccessor, GroupIdAccessor, NameIdAccessor, ServiceMetaData

public class ServiceMetaDataImpl extends Object implements ServiceMetaData
  • Constructor Details

    • ServiceMetaDataImpl

      public ServiceMetaDataImpl(String aUid, String aNameId, String aGroupId, String aName)
      Constructs a ServiceMetaDataImpl with the given attributes.
      Parameters:
      aUid - The UID to be used.
      aNameId - The name TID to be used.
      aGroupId - The group TID to be used.
      aName - The (verbose) name to be used.
  • Method Details

    • getUniversalId

      public String getUniversalId()
      Specified by:
      getUniversalId in interface org.refcodes.mixin.UniversalIdAccessor
    • getGroupId

      public String getGroupId()
      Retrieves the group TID from the group TID property.
      Specified by:
      getGroupId in interface GroupIdAccessor
      Returns:
      The group TID stored by the group TID property.
    • getNameId

      public String getNameId()
      Retrieves the name TID from the name TID property.
      Specified by:
      getNameId in interface NameIdAccessor
      Returns:
      The name TID stored by the name TID property.
    • getName

      public String getName()
      Specified by:
      getName in interface org.refcodes.mixin.NameAccessor