All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.greenpepper.server.domain.SystemInfo Maven / Gradle / Ivy

The newest version!
package com.greenpepper.server.domain;

import java.util.Vector;

import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Lob;
import javax.persistence.Table;


@Entity
/**
 * 

SystemInfo class.

* * @author oaouattara * @version $Id: $Id */ @Table(name="SYSTEM_INFO") @SuppressWarnings("serial") public class SystemInfo extends AbstractUniqueEntity { private String license; private String gpVersion; /** *

Getter for the field license.

* * @return a {@link java.lang.String} object. */ @Lob @Column(name = "LICENSE", nullable = true, length = 4096) public String getLicense() { return license; } /** *

Getter for the field gpVersion.

* * @return a {@link java.lang.String} object. */ @Basic @Column(name = "GPVERSION") public String getGpVersion() { return gpVersion; } /** *

Setter for the field license.

* * @param license a {@link java.lang.String} object. */ public void setLicense(String license) { this.license = license; } /** *

Setter for the field gpVersion.

* * @param gpVersion a {@link java.lang.String} object. */ public void setGpVersion(String gpVersion) { this.gpVersion = gpVersion; } /** *

marshallize.

* * @return a {@link java.util.Vector} object. */ public Vector marshallize() { return new Vector(); } /** {@inheritDoc} */ public boolean equals(Object o) { if (super.equals(o)) { return o instanceof SystemInfo; } return false; } }