2023-02-27 15:07:41 +01:00
|
|
|
/**
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
package org.gcube.informationsystem.model.impl.properties;
|
|
|
|
|
|
|
|
import org.gcube.com.fasterxml.jackson.annotation.JsonIgnore;
|
|
|
|
import org.gcube.com.fasterxml.jackson.annotation.JsonTypeName;
|
2023-04-18 17:51:23 +02:00
|
|
|
import org.gcube.informationsystem.model.reference.properties.Encrypted;
|
2023-02-27 15:07:41 +01:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @author Luca Frosini (ISTI - CNR)
|
|
|
|
*/
|
2023-04-18 17:51:23 +02:00
|
|
|
@JsonTypeName(value = Encrypted.NAME)
|
|
|
|
public class EncryptedImpl extends PropertyImpl implements Encrypted {
|
2023-02-27 15:07:41 +01:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Generated Serial Version UID
|
|
|
|
*/
|
|
|
|
private static final long serialVersionUID = 7823031209294161865L;
|
|
|
|
|
|
|
|
@JsonIgnore
|
|
|
|
protected String value;
|
|
|
|
|
2023-04-18 17:51:23 +02:00
|
|
|
public EncryptedImpl() {
|
2023-02-27 15:07:41 +01:00
|
|
|
super();
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public String getValue() {
|
|
|
|
return value;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void setValue(String value) {
|
|
|
|
this.value = value;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|