class JobInstance extends Entity {

	private final String jobName;

	/**
	 * Constructor for {@link JobInstance}.
	 * @param id The instance ID.
	 * @param jobName The name associated with the {@link JobInstance}.
	 */
	public JobInstance(Long id, String jobName) {
		super(id);
		Assert.hasLength(jobName, "A jobName is required");
		this.jobName = jobName;
	}

	/**
	 * @return the job name. (Equivalent to {@code getJob().getName()}).
	 */
	public String getJobName() {
		return jobName;
	}

	/**
	 * Adds the job name to the string representation of the super class ({@link Entity}).
	 */
	@Override
	public String toString() {<FILL_FUNCTION_BODY>}

	/**
	 * @return The current instance ID.
	 */
	public long getInstanceId() {
		return super.getId();
	}

}

		return super.toString() + ", Job=[" + jobName + "]";
	
<methods>public void <init>() ,public void <init>(java.lang.Long) ,public boolean equals(java.lang.Object) ,public java.lang.Long getId() ,public java.lang.Integer getVersion() ,public int hashCode() ,public void incrementVersion() ,public void setId(java.lang.Long) ,public void setVersion(java.lang.Integer) ,public java.lang.String toString() <variables>private java.lang.Long id,private volatile java.lang.Integer version