Enum Class CountryOrganisation
- All Implemented Interfaces:
ImportOrganisationUnit<CountryOrganisation,,ShopOrganisation> Serializable,Comparable<CountryOrganisation>,Constable
public enum CountryOrganisation
extends Enum<CountryOrganisation>
implements ImportOrganisationUnit<CountryOrganisation,ShopOrganisation>
Example of country organisation that is used for imports.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionGet collection of children unit organisations.getCode()Get organisation unit code.Get name of folder that is the same common for organisations of the same kind.Get name of folder root folder for this kind of organisations.Get list of languages for given organisation unit.getName()Get organisation unit user friendly name.Get this organisation parentGet version in which this organisation should be introduced in.voidsetParent(ShopOrganisation parent) Set parent for this organisation.static CountryOrganisationReturns the enum constant of this class with the specified name.static CountryOrganisation[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
US
-
CA
-
FR
-
DE
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
setParent
Description copied from interface:ImportOrganisationUnitSet parent for this organisation.- Specified by:
setParentin interfaceImportOrganisationUnit<CountryOrganisation,ShopOrganisation>
-
getParent
Description copied from interface:ImportOrganisationUnitGet this organisation parent- Specified by:
getParentin interfaceImportOrganisationUnit<CountryOrganisation,ShopOrganisation> - Returns:
- organisation parent
-
getCode
Description copied from interface:ImportOrganisationUnitGet organisation unit code.- Specified by:
getCodein interfaceImportOrganisationUnit<CountryOrganisation,ShopOrganisation>
-
getName
Description copied from interface:ImportOrganisationUnitGet organisation unit user friendly name.- Specified by:
getNamein interfaceImportOrganisationUnit<CountryOrganisation,ShopOrganisation>
-
getFolderName
Description copied from interface:ImportOrganisationUnitGet name of folder root folder for this kind of organisations.- Specified by:
getFolderNamein interfaceImportOrganisationUnit<CountryOrganisation,ShopOrganisation>
-
getCommonFolderName
Description copied from interface:ImportOrganisationUnitGet name of folder that is the same common for organisations of the same kind.- Specified by:
getCommonFolderNamein interfaceImportOrganisationUnit<CountryOrganisation,ShopOrganisation>
-
getChildren
Description copied from interface:ImportOrganisationUnitGet collection of children unit organisations.nullin case there are no children.- Specified by:
getChildrenin interfaceImportOrganisationUnit<CountryOrganisation,ShopOrganisation>
-
getLanguages
Description copied from interface:ImportOrganisationUnitGet list of languages for given organisation unit.- Specified by:
getLanguagesin interfaceImportOrganisationUnit<CountryOrganisation,ShopOrganisation>
-
getStructureState
Description copied from interface:ImportOrganisationUnitGet version in which this organisation should be introduced in.- Specified by:
getStructureStatein interfaceImportOrganisationUnit<CountryOrganisation,ShopOrganisation>
-