Package google.registry.model.contact
Class PostalInfo
java.lang.Object
google.registry.model.ImmutableObject
google.registry.model.contact.PostalInfo
- All Implemented Interfaces:
Buildable
,Buildable.Overlayable<PostalInfo>
,UnsafeSerializable
,Serializable
,Cloneable
@Embeddable
public class PostalInfo
extends ImmutableObject
implements Buildable.Overlayable<PostalInfo>, UnsafeSerializable
Implementation of both "postalInfoType" and "chgPostalInfoType" from RFC5733.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
A builder for constructingPostalInfo
, since its changes get overlayed.static enum
The type of the address, either localized or international.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
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
getOrg()
getType()
overlay
(PostalInfo source) Return an overlay of this object using non-null fields from the source.Methods inherited from class google.registry.model.ImmutableObject
clone, cloneEmptyToNull, createVKey, equals, getSignificantFields, hashCode, toDiffableFieldMap, toHydratedString, toString, toStringHelper
-
Constructor Details
-
PostalInfo
public PostalInfo()
-
-
Method Details
-
getName
-
getOrg
-
getAddress
-
getType
-
overlay
Description copied from interface:Buildable.Overlayable
Return an overlay of this object using non-null fields from the source.- Specified by:
overlay
in interfaceBuildable.Overlayable<PostalInfo>
-
asBuilder
-