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

io.baltoro.domain.PrivateData Maven / Gradle / Ivy

There is a newer version: 4.0.12
Show newest version
package io.baltoro.domain;

public class PrivateData extends BO
{

	private static final BOMD PRIVATE_KEY = new BOMD("private.key", ColTypeEnum.str_1); 
	private static final BOMD PASSWORD = new BOMD("password", ColTypeEnum.str_2); 
	
	
	@Override
	public BOMD[] getMDDef()
	{
		return new BOMD[]{PRIVATE_KEY, PASSWORD};
	}
	
	
	public String getPrivateKey() 
	{
		return getValue(PRIVATE_KEY.getName());
	}
	
	public void setPrivateKey(String privateKey) 
	{
		addValue(PRIVATE_KEY.getName(), privateKey);
	}
	
	public String getPassword() 
	{
		return getValue(PASSWORD.getName());
	}
	
	public void setPassword(String password) 
	{
		addValue(PASSWORD.getName(), password);
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy