Class TopoRef
- java.lang.Object
-
- com.anaptecs.jeaf.junit.openapi.base.PlaceRef
-
- com.anaptecs.jeaf.junit.openapi.base.TopoRef
-
- All Implemented Interfaces:
com.anaptecs.jeaf.core.api.ServiceObject,java.io.Serializable
@Valid public class TopoRef extends PlaceRef
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTopoRef.BuilderClass implements builder to create a new instance of classTopoRef.
-
Constructor Summary
Constructors Modifier Constructor Description protectedTopoRef()Default constructor is only intended to be used for deserialization by tools like Jackson for JSON.protectedTopoRef(TopoRef.Builder pBuilder)Initialize object using the passed builder.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TopoRef.Builderbuilder()Method returns a new builder.static TopoRef.Builderbuilder(TopoRef pObject)Method creates a new builder and initialize it with the data from the passed object.static TopoRef.Builderbuilder(java.lang.String pName)Method creates a new builder and initializes it with the passed attributes.-
Methods inherited from class com.anaptecs.jeaf.junit.openapi.base.PlaceRef
getName, setName, toString, toStringBuilder
-
-
-
-
Constructor Detail
-
TopoRef
protected TopoRef()
Default constructor is only intended to be used for deserialization by tools like Jackson for JSON. For "normal" object creation builder should be used instead.
-
TopoRef
protected TopoRef(TopoRef.Builder pBuilder)
Initialize object using the passed builder.- Parameters:
pBuilder- Builder that should be used to initialize this object. The parameter must not be null.
-
-
Method Detail
-
builder
public static TopoRef.Builder builder()
Method returns a new builder.- Returns:
TopoRef.BuilderNew builder that can be used to create new TopoRef objects.
-
builder
public static TopoRef.Builder builder(TopoRef pObject)
Method creates a new builder and initialize it with the data from the passed object.- Parameters:
pObject- Object that should be used to initialize the builder. The parameter may be null.- Returns:
TopoRef.BuilderNew builder that can be used to create new TopoRef objects. The method never returns null.
-
builder
public static TopoRef.Builder builder(java.lang.String pName)
Method creates a new builder and initializes it with the passed attributes.
-
-