Record Class ApplicationIdentity
java.lang.Object
java.lang.Record
org.j7m.middleware.application.api.ApplicationIdentity
- Record Components:
coordinate- exact application coordinatedisplayName- human-readable display nametrustDomain- declared trust domain
public record ApplicationIdentity(ApplicationCoordinate coordinate, String displayName, String trustDomain)
extends Record
Immutable identity for application code and metadata.
-
Constructor Summary
ConstructorsConstructorDescriptionApplicationIdentity(ApplicationCoordinate coordinate, String displayName, String trustDomain) Creates immutable identity metadata. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecoordinaterecord component.Returns the value of thedisplayNamerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.Returns the value of thetrustDomainrecord component.
-
Constructor Details
-
ApplicationIdentity
public ApplicationIdentity(ApplicationCoordinate coordinate, String displayName, String trustDomain) Creates immutable identity metadata.
-
-
Method Details
-
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). -
coordinate
Returns the value of thecoordinaterecord component.- Returns:
- the value of the
coordinaterecord component
-
displayName
Returns the value of thedisplayNamerecord component.- Returns:
- the value of the
displayNamerecord component
-
trustDomain
Returns the value of thetrustDomainrecord component.- Returns:
- the value of the
trustDomainrecord component
-