// Set the ID of the placement to get.
Long placementId = Long.parseLong("INSERT_PLACEMENT_ID_HERE");
// Get the placement.
Placement placement = placementService.getPlacement(placementId);
if (placement != null) {
System.out.println("Placement with ID \"" + placement.getId()
+ "\", name \"" + placement.getName()
+ "\", and status \"" + placement.getStatus() + "\" was found.");
} else {
System.out.println("No placement found for this ID.");
}
} catch (Exception e) {
e.printStackTrace();