public enum ShopOrganisation extends java.lang.Enum<ShopOrganisation> implements ImportOrganisationUnit<CountryOrganisation,ShopOrganisation>
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<CountryOrganisation> |
getChildren()
Get collection of children unit organisations.
|
java.lang.String |
getCode()
Get organisation unit code.
|
java.lang.String |
getCommonFolderName()
Get name of folder that is the same common for organisations of the same kind.
|
java.lang.String |
getFolderName()
Get name of folder root folder for this kind of organisations.
|
java.util.Collection<ImportLanguage> |
getLanguages()
Get list of languages for given organisation unit.
|
java.lang.String |
getName()
Get organisation unit user friendly name.
|
ShopOrganisation |
getParent()
Get this organisation parent
|
StructureState |
getStructureState()
Get version in which this organisation should be introduced in.
|
void |
setParent(ShopOrganisation parent)
Set parent for this organisation.
|
static ShopOrganisation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ShopOrganisation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ShopOrganisation NA
public static final ShopOrganisation EU
public static ShopOrganisation[] values()
for (ShopOrganisation c : ShopOrganisation.values()) System.out.println(c);
public static ShopOrganisation valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getCode()
ImportOrganisationUnitgetCode in interface ImportOrganisationUnit<CountryOrganisation,ShopOrganisation>public java.lang.String getName()
ImportOrganisationUnitgetName in interface ImportOrganisationUnit<CountryOrganisation,ShopOrganisation>public java.lang.String getFolderName()
ImportOrganisationUnitgetFolderName in interface ImportOrganisationUnit<CountryOrganisation,ShopOrganisation>public java.lang.String getCommonFolderName()
ImportOrganisationUnitgetCommonFolderName in interface ImportOrganisationUnit<CountryOrganisation,ShopOrganisation>public java.util.Collection<CountryOrganisation> getChildren()
ImportOrganisationUnitnull in case there are no children.getChildren in interface ImportOrganisationUnit<CountryOrganisation,ShopOrganisation>public java.util.Collection<ImportLanguage> getLanguages()
ImportOrganisationUnitgetLanguages in interface ImportOrganisationUnit<CountryOrganisation,ShopOrganisation>public ShopOrganisation getParent()
ImportOrganisationUnitgetParent in interface ImportOrganisationUnit<CountryOrganisation,ShopOrganisation>public void setParent(ShopOrganisation parent)
ImportOrganisationUnitsetParent in interface ImportOrganisationUnit<CountryOrganisation,ShopOrganisation>public StructureState getStructureState()
ImportOrganisationUnitgetStructureState in interface ImportOrganisationUnit<CountryOrganisation,ShopOrganisation>Copyright © 2018 SAP SE. All Rights Reserved.