Class ObjectCreationExample

  • All Implemented Interfaces:

    @Deprecated(message = "Use CreationExample instead", replaceWith = @ReplaceWith(imports = {"com.embabel.agent.api.common.CreationExample"}, expression = "CreationExample(description, value)")) 
    public final class ObjectCreationExample<T extends Object>
    extends CreationExample<T>
                        

    An example of creating an object of the given type. Used to provide strongly typed examples to the ObjectCreator.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      • Methods inherited from class com.embabel.agent.api.common.CreationExample

        copy, equals, getDescription, getValue, hashCode, toString
      • Methods inherited from class java.lang.Object

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

      • ObjectCreationExample

        ObjectCreationExample(String description, T value)
        Parameters:
        description - description of the example--e.g.
        value - the example object
    • Method Detail