Class NestedObjectCreator
- java.lang.Object
-
- com.hybris.cockpitng.editor.commonreferenceeditor.NestedObjectCreator
-
public final class NestedObjectCreator extends java.lang.ObjectMarker class to be used to recognize list entry that is used to add new references for reference editor.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringDEFAULT_LABELstatic java.lang.StringLABEL_KEY
-
Constructor Summary
Constructors Constructor Description NestedObjectCreator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetLabel(java.lang.String typeCode)java.lang.StringgetUserChosenType()voidsetUserChosenType(java.lang.String userChosenType)
-
-
-
Field Detail
-
DEFAULT_LABEL
public static final java.lang.String DEFAULT_LABEL
- See Also:
- Constant Field Values
-
LABEL_KEY
public static final java.lang.String LABEL_KEY
- See Also:
- Constant Field Values
-
-
Method Detail
-
getLabel
public java.lang.String getLabel(java.lang.String typeCode)
- Returns:
- label for the given type
-
getUserChosenType
public java.lang.String getUserChosenType()
- Returns:
- type set manually
-
setUserChosenType
public void setUserChosenType(java.lang.String userChosenType)
- Parameters:
userChosenType- type to be used instead of the default, usually a subtype of the default type
-
-