Package org.refcodes.servicebus
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
TheServiceMetaDataImpl
implements theServiceMetaData
.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.refcodes.servicebus.GroupIdAccessor
GroupIdAccessor.GroupIdMutator, GroupIdAccessor.GroupIdProperty
-
Nested classes/interfaces inherited from interface org.refcodes.mixin.NameAccessor
org.refcodes.mixin.NameAccessor.NameBuilder<B extends org.refcodes.mixin.NameAccessor.NameBuilder<B>>, org.refcodes.mixin.NameAccessor.NameMutator, org.refcodes.mixin.NameAccessor.NameProperty
-
Nested classes/interfaces inherited from interface org.refcodes.servicebus.NameIdAccessor
NameIdAccessor.NameIdMutator, NameIdAccessor.NameIdProperty
-
Nested classes/interfaces inherited from interface org.refcodes.mixin.UniversalIdAccessor
org.refcodes.mixin.UniversalIdAccessor.UniversalIdBuilder<B extends org.refcodes.mixin.UniversalIdAccessor.UniversalIdBuilder<B>>, org.refcodes.mixin.UniversalIdAccessor.UniversalIdMutator, org.refcodes.mixin.UniversalIdAccessor.UniversalIdProperty
-
-
Constructor Summary
Constructors Constructor Description ServiceMetaDataImpl(String aUid, String aNameId, String aGroupId, String aName)
Constructs aServiceMetaDataImpl
with the given attributes.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getGroupId()
Retrieves the group ID from the group ID property.String
getName()
String
getNameId()
Retrieves the name ID from the name ID property.String
getUniversalId()
-
-
-
Constructor Detail
-
ServiceMetaDataImpl
public ServiceMetaDataImpl(String aUid, String aNameId, String aGroupId, String aName)
Constructs aServiceMetaDataImpl
with the given attributes.- Parameters:
aUid
- The UID to be used.aNameId
- The name ID to be used.aGroupId
- The group ID to be used.aName
- The (verbose) name to be used.
-
-
Method Detail
-
getUniversalId
public String getUniversalId()
- Specified by:
getUniversalId
in interfaceorg.refcodes.mixin.UniversalIdAccessor
-
getGroupId
public String getGroupId()
Retrieves the group ID from the group ID property.- Specified by:
getGroupId
in interfaceGroupIdAccessor
- Returns:
- The group ID stored by the group ID property.
-
getNameId
public String getNameId()
Retrieves the name ID from the name ID property.- Specified by:
getNameId
in interfaceNameIdAccessor
- Returns:
- The name ID stored by the name ID property.
-
getName
public String getName()
- Specified by:
getName
in interfaceorg.refcodes.mixin.NameAccessor
-
-