ing
This commit is contained in:
parent
3595ea45b0
commit
62c6b878ae
|
@ -11,7 +11,9 @@ import com.loafle.overflow.model.meta.MetaCryptoType;
|
|||
public class Service {
|
||||
private MetaCryptoType metaCryptoType;
|
||||
|
||||
private String name;
|
||||
private String key;
|
||||
|
||||
private String description;
|
||||
|
||||
private Date discoveredDate;
|
||||
|
||||
|
@ -34,17 +36,31 @@ public class Service {
|
|||
}
|
||||
|
||||
/**
|
||||
* @return the name
|
||||
* @return the key
|
||||
*/
|
||||
public String getName() {
|
||||
return name;
|
||||
public String getKey() {
|
||||
return key;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param name the name to set
|
||||
* @param key the key to set
|
||||
*/
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
public void setKey(String key) {
|
||||
this.key = key;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the description
|
||||
*/
|
||||
public String getDescription() {
|
||||
return description;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param description the description to set
|
||||
*/
|
||||
public void setDescription(String description) {
|
||||
this.description = description;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -16,6 +16,7 @@ public class InfraService extends Infra {
|
|||
private MetaTargetServiceType metaTargetServiceType;
|
||||
private InfraHostPort infraHostPort;
|
||||
private MetaCryptoType metaCryptoType;
|
||||
private String description;
|
||||
|
||||
public InfraService() {
|
||||
super();
|
||||
|
@ -54,4 +55,21 @@ public class InfraService extends Infra {
|
|||
public void setMetaCryptoType(MetaCryptoType metaCryptoType) {
|
||||
this.metaCryptoType = metaCryptoType;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the description
|
||||
*/
|
||||
@Basic
|
||||
@Column(name = "DESCRIPTION", nullable = true, length = 500)
|
||||
public String getDescription() {
|
||||
return description;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param description the description to set
|
||||
*/
|
||||
public void setDescription(String description) {
|
||||
this.description = description;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user