Class NestedObjectCreator


  • public final class NestedObjectCreator
    extends java.lang.Object
    Marker 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.String DEFAULT_LABEL  
      static java.lang.String LABEL_KEY  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getLabel​(java.lang.String typeCode)  
      java.lang.String getUserChosenType()  
      void setUserChosenType​(java.lang.String userChosenType)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NestedObjectCreator

        public NestedObjectCreator()
    • 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