Package google.registry.model.contact
Class Contact
- java.lang.Object
-
- google.registry.model.ImmutableObject
-
- google.registry.model.UpdateAutoTimestampEntity
-
- google.registry.model.EppResource
-
- google.registry.model.contact.ContactBase
-
- google.registry.model.contact.Contact
-
- All Implemented Interfaces:
Buildable
,EppResource.ForeignKeyedEppResource
,EppResource.ResourceWithTransferData<ContactTransferData>
,UnsafeSerializable
,java.io.Serializable
,java.lang.Cloneable
@Entity public class Contact extends ContactBase implements EppResource.ForeignKeyedEppResource
A persistable contact resource including mutable and non-mutable fields.- See Also:
- RFC 5733, Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Contact.Builder
A builder for constructingContact
, since it is immutable.-
Nested classes/interfaces inherited from class google.registry.model.EppResource
EppResource.BuilderWithTransferData<T extends TransferData,B extends EppResource.BuilderWithTransferData<T,B>>, EppResource.ForeignKeyedEppResource, EppResource.ResourceWithTransferData<T extends TransferData>
-
Nested classes/interfaces inherited from class google.registry.model.ImmutableObject
ImmutableObject.DoNotHydrate, ImmutableObject.IgnoredInDiffableMap, ImmutableObject.Insignificant
-
Nested classes/interfaces inherited from interface google.registry.model.Buildable
Buildable.GenericBuilder<S,B extends Buildable.GenericBuilder<?,?>>, Buildable.Overlayable<T>
-
-
Field Summary
-
Fields inherited from class google.registry.model.ImmutableObject
hashCode
-
-
Constructor Summary
Constructors Constructor Description Contact()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Contact.Builder
asBuilder()
Override ofBuildable.asBuilder()
so that the extra methods are visible.Contact
cloneProjectedAtTime(org.joda.time.DateTime now)
Return a clone of the resource with timed status values modified using the given time.VKey<Contact>
createVKey()
Create the VKey for the specified EPP resource.java.lang.String
getRepoId()
-
Methods inherited from class google.registry.model.contact.ContactBase
cloneContactProjectedAtTime, getAuthInfo, getContactId, getCurrentSponsorRegistrarId, getDisclose, getEmailAddress, getFaxNumber, getForeignKey, getInternationalizedPostalInfo, getLastTransferTime, getLocalizedPostalInfo, getPostalInfosAsList, getSearchName, getTransferData, getVoiceNumber
-
Methods inherited from class google.registry.model.EppResource
getCreationRegistrarId, getCreationTime, getDeletionTime, getLastEppUpdateRegistrarId, getLastEppUpdateTime, getPersistedCurrentSponsorRegistrarId, getStatusValues, loadCached, loadCached, setCacheForTest, setRepoId
-
Methods inherited from class google.registry.model.UpdateAutoTimestampEntity
copyUpdateTimestamp, getUpdateTimestamp, resetUpdateTimestamp, setUpdateTimestamp
-
Methods inherited from class google.registry.model.ImmutableObject
clone, cloneEmptyToNull, equals, getSignificantFields, hashCode, toDiffableFieldMap, toHydratedString, toString, toStringHelper
-
-
-
-
Method Detail
-
createVKey
public VKey<Contact> createVKey()
Description copied from class:EppResource
Create the VKey for the specified EPP resource.- Overrides:
createVKey
in classContactBase
-
getRepoId
public java.lang.String getRepoId()
- Overrides:
getRepoId
in classEppResource
-
cloneProjectedAtTime
public Contact cloneProjectedAtTime(org.joda.time.DateTime now)
Description copied from class:EppResource
Return a clone of the resource with timed status values modified using the given time.- Overrides:
cloneProjectedAtTime
in classContactBase
-
asBuilder
public Contact.Builder asBuilder()
Description copied from class:EppResource
Override ofBuildable.asBuilder()
so that the extra methods are visible.- Specified by:
asBuilder
in interfaceBuildable
- Overrides:
asBuilder
in classContactBase
-
-