Record Class ApplicationId
java.lang.Object
java.lang.Record
org.j7m.middleware.application.api.ApplicationId
- Record Components:
group- reverse-DNS or organization groupname- application name
Immutable logical application identifier without a version.
The identifier is stable across deployments and environments. It is safe to use in repository paths after applying path-segment validation in the repository layer. Instances are thread-safe.
-
Constructor Summary
ConstructorsConstructorDescriptionApplicationId(String group, String name) Creates a validated application id. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.group()Returns the value of thegrouprecord component.final inthashCode()Returns a hash code value for this object.name()Returns the value of thenamerecord component.static ApplicationIdParsesgroup:name.toString()
-
Constructor Details
-
ApplicationId
-
-
Method Details
-
parse
Parsesgroup:name.- Parameters:
value- textual id- Returns:
- parsed id
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
group
-
name
-