Class VersionedObjectSoftLink
- java.lang.Object
-
- com.anaptecs.jeaf.junit.openapi.base.VersionedObjectSoftLinkBase
-
- com.anaptecs.jeaf.junit.openapi.base.VersionedObjectSoftLink
-
- All Implemented Interfaces:
com.anaptecs.jeaf.core.api.ServiceObject,java.io.Serializable
@Valid public class VersionedObjectSoftLink extends VersionedObjectSoftLinkBase
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVersionedObjectSoftLink.BuilderClass implements builder to create a new instance of class VersionedObjectSoftLink.-
Nested classes/interfaces inherited from class com.anaptecs.jeaf.junit.openapi.base.VersionedObjectSoftLinkBase
VersionedObjectSoftLinkBase.BuilderBase
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedVersionedObjectSoftLink()Default constructor is only intended to be used for deserialization by tools like Jackson for JSON.protectedVersionedObjectSoftLink(VersionedObjectSoftLinkBase.BuilderBase pBuilder)Initialize object.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VersionedObjectSoftLink.Builderbuilder()Method returns a new builder.static VersionedObjectSoftLink.Builderbuilder(long pObjectID, DataUnit pDataUnit, Entity pEntity)Method creates a new builder and initializes it with the passed attributes.static VersionedObjectSoftLink.Builderbuilder(VersionedObjectSoftLink pObject)Method creates a new builder and initialize it with the data from the passed object.static VersionedObjectSoftLinkdeserialize(java.lang.String pSerialized)Method deserialized the passed String representation of this object into a new instance of this class.java.lang.Stringserialize()Method serializes this object into its custom string representation.-
Methods inherited from class com.anaptecs.jeaf.junit.openapi.base.VersionedObjectSoftLinkBase
getDataUnit, getEntity, getObjectID, setDataUnit, setEntity, toString, toStringBuilder, unsetDataUnit, unsetEntity
-
-
-
-
Constructor Detail
-
VersionedObjectSoftLink
protected VersionedObjectSoftLink()
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.
-
VersionedObjectSoftLink
protected VersionedObjectSoftLink(VersionedObjectSoftLinkBase.BuilderBase pBuilder)
Initialize object. Nothing special to do.
-
-
Method Detail
-
builder
public static VersionedObjectSoftLink.Builder builder()
Method returns a new builder.- Returns:
VersionedObjectSoftLink.BuilderNew builder that can be used to create new VersionedObjectSoftLink objects.
-
builder
public static VersionedObjectSoftLink.Builder builder(VersionedObjectSoftLink 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:
VersionedObjectSoftLink.BuilderNew builder that can be used to create new VersionedObjectSoftLink objects. The method never returns null.
-
builder
public static VersionedObjectSoftLink.Builder builder(long pObjectID, DataUnit pDataUnit, Entity pEntity)
Method creates a new builder and initializes it with the passed attributes.
-
serialize
public java.lang.String serialize()
Method serializes this object into its custom string representation.- Returns:
StringSerialized String representation of this object. The method must not return null.
-
deserialize
public static VersionedObjectSoftLink deserialize(java.lang.String pSerialized)
Method deserialized the passed String representation of this object into a new instance of this class.- Parameters:
pSerialized- Serialized representation that should be used to create a new instance. The parameter is never null.- Returns:
VersionedObjectSoftLinkInstance of this class as it was deserialized from the passed string. The method must not return null.
-
-