mirror of
https://github.com/google/nomulus.git
synced 2025-05-29 08:50:09 +02:00
Rename LrpToken to LrpTokenEntity
This is to better distinguish between an LRP "token" (the string passed along in EPP) and the datastore entity that contains the token and all metadata. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=135943480
This commit is contained in:
parent
1a9f91ed9e
commit
dd9137fbd1
14 changed files with 104 additions and 97 deletions
|
@ -28,11 +28,9 @@ import google.registry.model.reporting.HistoryEntry;
|
|||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
|
||||
/**
|
||||
* An entity representing a token distributed to eligible LRP registrants.
|
||||
*/
|
||||
/** An entity representing a token distributed to eligible LRP registrants. */
|
||||
@Entity
|
||||
public class LrpToken extends BackupGroupRoot implements Buildable {
|
||||
public class LrpTokenEntity extends BackupGroupRoot implements Buildable {
|
||||
|
||||
/**
|
||||
* The secret token assigned to a registrant for the purposes of LRP registration.
|
||||
|
@ -94,11 +92,11 @@ public class LrpToken extends BackupGroupRoot implements Buildable {
|
|||
return new Builder(clone(this));
|
||||
}
|
||||
|
||||
/** A builder for constructing {@link LrpToken} objects, since they are immutable. */
|
||||
public static class Builder extends Buildable.Builder<LrpToken> {
|
||||
/** A builder for constructing {@link LrpTokenEntity} objects, since they are immutable. */
|
||||
public static class Builder extends Buildable.Builder<LrpTokenEntity> {
|
||||
public Builder() {}
|
||||
|
||||
private Builder(LrpToken instance) {
|
||||
private Builder(LrpTokenEntity instance) {
|
||||
super(instance);
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue