@NotThreadSafe public class PDBusinessEntity extends Object implements com.helger.json.IHasJson, Serializable, com.helger.commons.lang.ICloneable<PDBusinessEntity>
| Constructor and Description |
|---|
PDBusinessEntity() |
PDBusinessEntity(com.helger.commons.collection.impl.ICommonsList<PDName> aNames,
String sCountryCode,
String sGeoInfo,
com.helger.commons.collection.impl.ICommonsList<PDIdentifier> aIDs,
com.helger.commons.collection.impl.ICommonsList<String> aWebsiteURIs,
com.helger.commons.collection.impl.ICommonsList<PDContact> aContacts,
String sAdditionalInfo,
LocalDate aRegDate) |
| Modifier and Type | Method and Description |
|---|---|
void |
cloneTo(PDBusinessEntity ret)
This method clones all values from
this to the passed object. |
com.helger.commons.collection.impl.ICommonsList<PDContact> |
contacts() |
boolean |
equals(Object o) |
String |
getAdditionalInfo() |
com.helger.json.IJsonObject |
getAsJson() |
com.helger.xml.microdom.IMicroElement |
getAsMicroXML(String sNamespaceURI,
String sElementName) |
PDBusinessEntity |
getClone() |
String |
getCountryCode() |
String |
getGeoInfo() |
LocalDate |
getRegistrationDate() |
boolean |
hasAdditionalInfo() |
boolean |
hasCountryCode() |
boolean |
hasGeoInfo() |
int |
hashCode() |
boolean |
hasRegistrationDate() |
com.helger.commons.collection.impl.ICommonsList<PDIdentifier> |
identifiers() |
com.helger.commons.collection.impl.ICommonsList<PDName> |
names() |
static PDBusinessEntity |
of(com.helger.json.IJsonObject aJson) |
PDBusinessEntity |
setAdditionalInfo(String sAdditionalInfo)
Set the additional information / free text.
|
PDBusinessEntity |
setCountryCode(String sCountryCode)
Sets the value of the countryCode property.
|
PDBusinessEntity |
setGeoInfo(String sGeoInfo) |
PDBusinessEntity |
setRegistrationDate(LocalDate aRegDate)
Sets the value of the registration date property.
|
String |
toString() |
com.helger.commons.collection.impl.ICommonsList<String> |
websiteURIs() |
public PDBusinessEntity()
public PDBusinessEntity(@Nullable com.helger.commons.collection.impl.ICommonsList<PDName> aNames, @Nullable String sCountryCode, @Nullable String sGeoInfo, @Nullable com.helger.commons.collection.impl.ICommonsList<PDIdentifier> aIDs, @Nullable com.helger.commons.collection.impl.ICommonsList<String> aWebsiteURIs, @Nullable com.helger.commons.collection.impl.ICommonsList<PDContact> aContacts, @Nullable String sAdditionalInfo, @Nullable LocalDate aRegDate)
@Nonnull @ReturnsMutableObject public final com.helger.commons.collection.impl.ICommonsList<PDName> names()
null.@Nullable public final String getCountryCode()
null.public final boolean hasCountryCode()
@Nonnull public final PDBusinessEntity setCountryCode(@Nullable String sCountryCode)
sCountryCode - The country code to use. Should not be null.@Nullable public final String getGeoInfo()
null.public final boolean hasGeoInfo()
@Nonnull public final PDBusinessEntity setGeoInfo(@Nullable String sGeoInfo)
sGeoInfo - Geographical information. May be null.@Nonnull @ReturnsMutableObject public final com.helger.commons.collection.impl.ICommonsList<PDIdentifier> identifiers()
null.@Nonnull @ReturnsMutableObject public final com.helger.commons.collection.impl.ICommonsList<String> websiteURIs()
null.@Nonnull @ReturnsMutableObject public final com.helger.commons.collection.impl.ICommonsList<PDContact> contacts()
null.@Nullable public final String getAdditionalInfo()
null.public final boolean hasAdditionalInfo()
@Nonnull public final PDBusinessEntity setAdditionalInfo(@Nullable String sAdditionalInfo)
sAdditionalInfo - Additional information to be used (free text). May be
null.@Nullable public final LocalDate getRegistrationDate()
null.public final boolean hasRegistrationDate()
@Nonnull public final PDBusinessEntity setRegistrationDate(@Nullable LocalDate aRegDate)
aRegDate - The registration date. May be null.public void cloneTo(@Nonnull PDBusinessEntity ret)
this to the passed object.
All data in the parameter object is overwritten!ret - The target object to clone to. May not be null.@Nonnull @ReturnsMutableCopy public PDBusinessEntity getClone()
getClone in interface com.helger.commons.lang.ICloneable<PDBusinessEntity>@Nonnull public com.helger.xml.microdom.IMicroElement getAsMicroXML(@Nullable String sNamespaceURI, @Nonnull @Nonempty String sElementName)
@Nonnull public com.helger.json.IJsonObject getAsJson()
getAsJson in interface com.helger.json.IHasJson@Nullable public static PDBusinessEntity of(@Nullable com.helger.json.IJsonObject aJson)
Copyright © 2015–2021 Philip Helger. All rights reserved.