Class Bundle.Entry.Request
- java.lang.Object
 - 
- org.linuxforhealth.fhir.model.visitor.AbstractVisitable
 - 
- org.linuxforhealth.fhir.model.type.Element
 - 
- org.linuxforhealth.fhir.model.type.BackboneElement
 - 
- org.linuxforhealth.fhir.model.resource.Bundle.Entry.Request
 
 
 
 
 
- 
- All Implemented Interfaces:
 Visitable
- Enclosing class:
 - Bundle.Entry
 
public static class Bundle.Entry.Request extends BackboneElement
Additional information about how this entry should be processed as part of a transaction or batch. For history, it shows how the entry was processed to create the version contained in the entry. 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBundle.Entry.Request.Builder 
- 
Field Summary
- 
Fields inherited from class org.linuxforhealth.fhir.model.type.BackboneElement
modifierExtension 
 - 
 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(java.lang.String elementName, int elementIndex, Visitor visitor)Accept a Visitor and invoke the appropriate visit methods.static Bundle.Entry.Request.Builderbuilder()booleanequals(java.lang.Object obj)StringgetIfMatch()Only perform the operation if the Etag value matches.InstantgetIfModifiedSince()Only perform the operation if the last updated date matches.StringgetIfNoneExist()Instruct the server not to perform the create if a specified resource already exists.StringgetIfNoneMatch()If the ETag values match, return a 304 Not Modified status.HTTPVerbgetMethod()In a transaction or batch, this is the HTTP action to be executed for this entry.UrigetUrl()The URL for this entry, relative to the root (the address to which the request is posted).booleanhasChildren()inthashCode()Bundle.Entry.Request.BuildertoBuilder()Create a new Builder from the contents of this Element- 
Methods inherited from class org.linuxforhealth.fhir.model.type.BackboneElement
getModifierExtension 
- 
Methods inherited from class org.linuxforhealth.fhir.model.type.Element
as, getExtension, getId, hasValue, is 
 - 
 
 - 
 
- 
- 
Method Detail
- 
getMethod
public HTTPVerb getMethod()
In a transaction or batch, this is the HTTP action to be executed for this entry. In a history bundle, this indicates the HTTP action that occurred.- Returns:
 - An immutable object of type 
HTTPVerbthat is non-null. 
 
- 
getUrl
public Uri getUrl()
The URL for this entry, relative to the root (the address to which the request is posted).- Returns:
 - An immutable object of type 
Urithat is non-null. 
 
- 
getIfNoneMatch
public String getIfNoneMatch()
If the ETag values match, return a 304 Not Modified status. See the API documentation for ["Conditional Read"](http. html#cread).- Returns:
 - An immutable object of type 
Stringthat may be null. 
 
- 
getIfModifiedSince
public Instant getIfModifiedSince()
Only perform the operation if the last updated date matches. See the API documentation for ["Conditional Read"](http. html#cread).- Returns:
 - An immutable object of type 
Instantthat may be null. 
 
- 
getIfMatch
public String getIfMatch()
Only perform the operation if the Etag value matches. For more information, see the API section ["Managing Resource Contention"](http.html#concurrency).- Returns:
 - An immutable object of type 
Stringthat may be null. 
 
- 
getIfNoneExist
public String getIfNoneExist()
Instruct the server not to perform the create if a specified resource already exists. For further information, see the API documentation for ["Conditional Create"](http.html#ccreate). This is just the query portion of the URL - what follows the "?" (not including the "?").- Returns:
 - An immutable object of type 
Stringthat may be null. 
 
- 
hasChildren
public boolean hasChildren()
- Overrides:
 hasChildrenin classBackboneElement
 
- 
accept
public void accept(java.lang.String elementName, int elementIndex, Visitor visitor)Description copied from interface:VisitableAccept a Visitor and invoke the appropriate visit methods. A typical implementation would look like this:if (visitor.preVisit(this)) { visitor.visitStart(elementName, elementIndex, this); if (visitor.visit(elementName, elementIndex, this)) { // visit children } visitor.visitEnd(elementName, elementIndex, this); visitor.postVisit(this); }- Specified by:
 acceptin interfaceVisitable- Specified by:
 acceptin classAbstractVisitable- Parameters:
 elementName- the name of the element in the context of this visitelementIndex- the index of the element in a list or -1 if it is not contained within a Listvisitor- the visitor to use
 
- 
equals
public boolean equals(java.lang.Object obj)
- Overrides:
 equalsin classjava.lang.Object
 
- 
hashCode
public int hashCode()
- Overrides:
 hashCodein classjava.lang.Object
 
- 
toBuilder
public Bundle.Entry.Request.Builder toBuilder()
Description copied from class:ElementCreate a new Builder from the contents of this Element- Specified by:
 toBuilderin classBackboneElement
 
- 
builder
public static Bundle.Entry.Request.Builder builder()
 
 - 
 
 -