Class PetriNetReferenceWithMessageResource
- java.lang.Object
-
- org.springframework.hateoas.RepresentationModel<org.springframework.hateoas.CollectionModel<T>>
-
- org.springframework.hateoas.CollectionModel<PetriNetReferenceWithMessage>
-
- com.netgrif.application.engine.petrinet.web.responsebodies.PetriNetReferenceWithMessageResource
-
- All Implemented Interfaces:
java.lang.Iterable<PetriNetReferenceWithMessage>
,org.springframework.core.ResolvableTypeProvider
public class PetriNetReferenceWithMessageResource extends org.springframework.hateoas.CollectionModel<PetriNetReferenceWithMessage>
-
-
Constructor Summary
Constructors Constructor Description PetriNetReferenceWithMessageResource(PetriNetReferenceWithMessage content)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PetriNetReferenceWithMessageResource
errorMessage(java.lang.String msg)
static PetriNetReferenceWithMessageResource
successMessage(java.lang.String msg, PetriNet net, java.util.Locale locale)
-
Methods inherited from class org.springframework.hateoas.CollectionModel
empty, empty, empty, empty, empty, empty, equals, getContent, getResolvableType, hashCode, iterator, of, of, of, toString, withFallbackType, withFallbackType, withFallbackType, wrap
-
Methods inherited from class org.springframework.hateoas.RepresentationModel
add, add, add, addAllIf, addIf, getLink, getLink, getLinks, getLinks, getLinks, getRequiredLink, getRequiredLink, hasLink, hasLink, hasLinks, mapLink, mapLinkIf, of, of, removeLinks
-
-
-
-
Constructor Detail
-
PetriNetReferenceWithMessageResource
public PetriNetReferenceWithMessageResource(PetriNetReferenceWithMessage content)
-
-
Method Detail
-
successMessage
public static PetriNetReferenceWithMessageResource successMessage(java.lang.String msg, PetriNet net, java.util.Locale locale)
-
errorMessage
public static PetriNetReferenceWithMessageResource errorMessage(java.lang.String msg)
-
-