public class Location extends Object
| Constructor and Description |
|---|
Location() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
Set<Region> |
getAnnotations()
A set of regions relevant to the location.
|
Integer |
getId()
Value that distinguishes this location from all other locations within a single result object.
|
Set<LogicalLocation> |
getLogicalLocations()
The logical locations associated with the result.
|
Message |
getMessage()
Encapsulates a message intended to be read by the end user.
|
PhysicalLocation |
getPhysicalLocation()
A physical location relevant to a result.
|
PropertyBag |
getProperties()
Key/value pairs that provide additional information about the object.
|
Set<LocationRelationship> |
getRelationships()
An array of objects that describe relationships between this location and others.
|
int |
hashCode() |
void |
setAnnotations(Set<Region> annotations)
A set of regions relevant to the location.
|
void |
setId(Integer id)
Value that distinguishes this location from all other locations within a single result object.
|
void |
setLogicalLocations(Set<LogicalLocation> logicalLocations)
The logical locations associated with the result.
|
void |
setMessage(Message message)
Encapsulates a message intended to be read by the end user.
|
void |
setPhysicalLocation(PhysicalLocation physicalLocation)
A physical location relevant to a result.
|
void |
setProperties(PropertyBag properties)
Key/value pairs that provide additional information about the object.
|
void |
setRelationships(Set<LocationRelationship> relationships)
An array of objects that describe relationships between this location and others.
|
String |
toString() |
Location |
withAnnotations(Set<Region> annotations) |
Location |
withId(Integer id) |
Location |
withLogicalLocations(Set<LogicalLocation> logicalLocations) |
Location |
withMessage(Message message) |
Location |
withPhysicalLocation(PhysicalLocation physicalLocation) |
Location |
withProperties(PropertyBag properties) |
Location |
withRelationships(Set<LocationRelationship> relationships) |
public Integer getId()
public void setId(Integer id)
public PhysicalLocation getPhysicalLocation()
public void setPhysicalLocation(PhysicalLocation physicalLocation)
public Location withPhysicalLocation(PhysicalLocation physicalLocation)
public Set<LogicalLocation> getLogicalLocations()
public void setLogicalLocations(Set<LogicalLocation> logicalLocations)
public Location withLogicalLocations(Set<LogicalLocation> logicalLocations)
public Message getMessage()
public void setMessage(Message message)
public void setAnnotations(Set<Region> annotations)
public Set<LocationRelationship> getRelationships()
public void setRelationships(Set<LocationRelationship> relationships)
public Location withRelationships(Set<LocationRelationship> relationships)
public PropertyBag getProperties()
public void setProperties(PropertyBag properties)
public Location withProperties(PropertyBag properties)
Copyright © 2020 Contrast Security. All rights reserved.