@Test public void toQualifiedString() { final UUID ruleId = UUID.fromString( "7a6ceb64-3ab0-4a3d-acc1-65d9d562d589" ); Assert.assertEquals( "te-a1234567890-7a6ceb643ab04a3dacc165d9d562d589", new DhisFhirResourceId( DhisResourceType.TRACKED_ENTITY, "a1234567890", ruleId ).toString() ); }
@Override @Nonnull public String toString() { return toString( type, id, ruleId ); }
DhisFhirResourceId implements Serializable { @Override @Nonnull public String toString() { return toString( type, id, ruleId ); } }
DhisFhirResourceId implements Serializable { @Override @Nonnull public String toString() { return toString( type, id, ruleId ); } DhisFhirResourceId( @Nullable DhisResourceType type, @Nonnull String id, @Nullable UUID ruleId );  DhisFhirResourceId( @Nonnull String id ); }
DhisFhirResourceId implements Serializable { @Override @Nonnull public String toString() { return toString( type, id, ruleId ); } DhisFhirResourceId( @Nullable DhisResourceType type, @Nonnull String id, @Nullable UUID ruleId );  DhisFhirResourceId( @Nonnull String id ); DhisResourceType getType(); @Nonnull String getId(); UUID getRuleId(); @Nonnull DhisResourceId getDhisResourceId(); boolean isQualified(); @Nonnull DhisFhirResourceId toQualified( @Nonnull DhisResourceType type, @Nonnull UUID ruleId ); @Override boolean equals( Object o ); @Override int hashCode(); @Override @Nonnull String toString(); @Nonnull static String toString( @Nullable DhisResourceType type, @Nonnull String id, @Nullable UUID ruleId ); static boolean isValid( @Nullable String value ); @Nonnull static DhisFhirResourceId parse( @Nonnull String value ); }
DhisFhirResourceId implements Serializable { @Override @Nonnull public String toString() { return toString( type, id, ruleId ); } DhisFhirResourceId( @Nullable DhisResourceType type, @Nonnull String id, @Nullable UUID ruleId );  DhisFhirResourceId( @Nonnull String id ); DhisResourceType getType(); @Nonnull String getId(); UUID getRuleId(); @Nonnull DhisResourceId getDhisResourceId(); boolean isQualified(); @Nonnull DhisFhirResourceId toQualified( @Nonnull DhisResourceType type, @Nonnull UUID ruleId ); @Override boolean equals( Object o ); @Override int hashCode(); @Override @Nonnull String toString(); @Nonnull static String toString( @Nullable DhisResourceType type, @Nonnull String id, @Nullable UUID ruleId ); static boolean isValid( @Nullable String value ); @Nonnull static DhisFhirResourceId parse( @Nonnull String value );  }