Package com.helger.tenancy.accarea
Interface IAccountingArea
-
- All Superinterfaces:
IBusinessObject,com.helger.datetime.domain.IHasCreationDateTime,IHasCreationInfo,com.helger.datetime.domain.IHasDeletionDateTime,IHasDeletionInfo,com.helger.commons.name.IHasDisplayName,com.helger.commons.id.IHasID<String>,com.helger.datetime.domain.IHasLastModificationDateTime,IHasLastModificationInfo,com.helger.commons.type.IHasObjectType,IHasTenant,IHasTenantID,IHasUIText,ITenantObject,com.helger.commons.type.ITypedObject<String>,Serializable
- All Known Implementing Classes:
AbstractAccountingArea
public interface IAccountingArea extends ITenantObject, com.helger.commons.name.IHasDisplayName, IHasUIText
This interface represents a single accounting area.- Author:
- Philip Helger
-
-
Method Summary
-
Methods inherited from interface com.helger.tenancy.IBusinessObject
attrs, getLastChangeDateTime, isDeleted, isDeletedAt, isLastChangeAfter, isNotDeleted
-
Methods inherited from interface com.helger.datetime.domain.IHasCreationDateTime
getCreationDate, getCreationDateTime, getCreationTime, hasCreationDateTime, isCreatedAt
-
Methods inherited from interface com.helger.tenancy.datetime.IHasCreationInfo
getCreationUserID, hasCreationUserID
-
Methods inherited from interface com.helger.datetime.domain.IHasDeletionDateTime
getDeletionDate, getDeletionDateTime, getDeletionTime, hasDeletionDateTime
-
Methods inherited from interface com.helger.tenancy.datetime.IHasDeletionInfo
getDeletionUserID, hasDeletionUserID
-
Methods inherited from interface com.helger.datetime.domain.IHasLastModificationDateTime
getLastModificationDate, getLastModificationDateTime, getLastModificationTime, hasLastModificationDateTime, isLastModifiedAt
-
Methods inherited from interface com.helger.tenancy.datetime.IHasLastModificationInfo
getLastModificationUserID, hasLastModificationUserID
-
Methods inherited from interface com.helger.commons.type.IHasObjectType
getObjectType, getObjectTypeName, hasObjectType
-
Methods inherited from interface com.helger.tenancy.tenant.IHasTenant
hasSameTenant, hasSameTenantID, hasTenant, hasTenantID
-
Methods inherited from interface com.helger.tenancy.tenant.IHasTenantID
hasSameTenantID
-
Methods inherited from interface com.helger.tenancy.uitext.IHasUIText
getAsUIText
-
Methods inherited from interface com.helger.tenancy.tenant.ITenantObject
getTenant, getTenantID
-
-
-
-
Method Detail
-
getCompanyType
@Nullable String getCompanyType()
- Returns:
- The company type. E.g. "KEG". May be
null.
-
hasCompanyType
default boolean hasCompanyType()
- Returns:
trueif a company type is present,falseif not.- See Also:
getCompanyType()
-
getDisplayNameAndCompanyType
@Nonnull default String getDisplayNameAndCompanyType()
- Returns:
- The same as
getDisplayNameAndCompanyType(String)but using the fixed separator " " (1 blank). - See Also:
getDisplayNameAndCompanyType(String)
-
getDisplayNameAndCompanyType
@Nonnull default String getDisplayNameAndCompanyType(@Nonnull String sSep)
Get display name and company type concatenated using the provided separator. The separator is only used, if both fields are present and not empty.- Parameters:
sSep- The separator to use. May not benull.- Returns:
- The non-
nullmerged string. - See Also:
IHasDisplayName.getDisplayName(),getCompanyType()
-
getCompanyVATIN
@Nullable String getCompanyVATIN()
- Returns:
- The company VATID (de: UID). May be
null
-
hasCompanyVATIN
default boolean hasCompanyVATIN()
- Returns:
trueif a VATIN is present,falseif not.- See Also:
getCompanyVATIN()
-
getCompanyNumber
@Nullable String getCompanyNumber()
- Returns:
- The company number (Interne Betriebsnummer). May be
null.
-
hasCompanyNumber
default boolean hasCompanyNumber()
- Returns:
trueif a company number is present,falseif not.- See Also:
getCompanyNumber()
-
hasCustomerNumber
default boolean hasCustomerNumber()
- Returns:
trueif a customer number is present,falseif not.- See Also:
getCustomerNumber()
-
getAddress
@Nonnull com.helger.masterdata.address.IPostalAddress getAddress()
- Returns:
- The postal address of the owner. May not be
null.
-
hasTelephone
default boolean hasTelephone()
- Returns:
trueif a telephone number is present,falseif not.- See Also:
getTelephone()
-
hasFax
default boolean hasFax()
- Returns:
trueif a fax number is present,falseif not.- See Also:
getFax()
-
hasEmailAddress
default boolean hasEmailAddress()
- Returns:
trueif an email address is present,falseif not.- See Also:
getEmailAddress()
-
hasWebSite
default boolean hasWebSite()
- Returns:
trueif a website is present,falseif not.- See Also:
getWebSite()
-
getDefaultCurrency
@Nullable com.helger.masterdata.currency.ECurrency getDefaultCurrency()
- Returns:
- The default currency. May be
null.
-
getDefaultCurrencyID
@Nullable default String getDefaultCurrencyID()
- Returns:
- The default currency ID. May be
null. - See Also:
getDefaultCurrency()
-
hasDefaultCurrency
default boolean hasDefaultCurrency()
- Returns:
trueif a default currency is present,falseif not.- See Also:
getDefaultCurrency()
-
getOfficeLocation
@Nullable String getOfficeLocation()
- Returns:
- Office location (Firmensitz). May be
null.
-
hasOfficeLocation
default boolean hasOfficeLocation()
- Returns:
trueif an office location is present,falseif not.- See Also:
getOfficeLocation()
-
getCommercialRegistrationNumber
@Nullable String getCommercialRegistrationNumber()
- Returns:
- Commercial registration number (e.g. Firmenbuchnummer). May be
null.
-
hasCommercialRegistrationNumber
default boolean hasCommercialRegistrationNumber()
- Returns:
trueif a commercial register number is present,falseif not.- See Also:
getCommercialRegistrationNumber()
-
getCommercialCourt
@Nullable String getCommercialCourt()
- Returns:
- Commercial court(e.g. Firmenbuchgericht). May be
null.
-
hasCommercialCourt
default boolean hasCommercialCourt()
- Returns:
trueif a commercial court is present,falseif not.- See Also:
getCommercialCourt()
-
-