io.baltoro.domain.Container Maven / Gradle / Ivy
package io.baltoro.domain;
public class Container extends BO
{
private static final BOMD PRIVATE_KEY = new BOMD("private.key", ColTypeEnum.str_1);
private static final BOMD PUBLIC_KEY = new BOMD("public.key", ColTypeEnum.str_2);
private static final BOMD CA = new BOMD("ca", ColTypeEnum.str_3);
@Override
public BOMD[] getMDDef()
{
return new BOMD[]{PRIVATE_KEY, PUBLIC_KEY, CA};
}
public String getPrivateKey()
{
return getValue(PRIVATE_KEY.getName());
}
public void setPrivateKey(String privateKey)
{
addValue(PRIVATE_KEY.getName(), privateKey);
}
public String getPublicKey()
{
return getValue(PUBLIC_KEY.getName());
}
public void setPublicKey(String publicKey)
{
addValue(PUBLIC_KEY.getName(), publicKey);
}
public String getCa()
{
return getValue(CA.getName());
}
public void setCa(String ca)
{
addValue(CA.getName(), ca);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy