Summary Table

Categories Total Count
PII 0
URL 0
DNS 0
EKL 0
IP 0
PORT 0
VsID 0
CF 0
AI 0
VPD 0
PL 0
Other 0

File Content

package gov.va.med.pbm.ampl.model.address;

import java.io.Serializable;
import java.time.OffsetDateTime;

/**
* This class consists of properties representing a confidential address.
*
* @author Ian Meinert
* @since 1.0
*/
public class ConfidentialAddress implements Serializable {

private static final long serialVersionUID = -7788619177798333712L;

/**
* The type of AbstractAddress.
*/
private static ConfidentialAddress myType;

static {
setMyType(new ConfidentialAddress());
}

private Address address;
private boolean active;
private OffsetDateTime fromDate;
private OffsetDateTime toDate;
private String[] confidentialAddressCategories;
private String activeConfidentialCategory;

/**
* The getter for address.
*
* @return the address
*/
public Address getAddress() {
return address;
}

/**
* The setter for address.
*
* @param address the address to set
*/
public void setAddress(Address address) {
this.address = address;
}

/**
* The getter for active.
*
* @return the active
*/
public boolean isActive() {
return active;
}

/**
* The setter for active.
*
* @param active the active to set
*/
public void setActive(boolean active) {
this.active = active;
}

/**
* The getter for fromDate.
*
* @return the fromDate
*/
public OffsetDateTime getFromDate() {
return fromDate;
}

/**
* The setter for fromDate.
*
* @param fromDate the fromDate to set
*/
public void setFromDate(OffsetDateTime fromDate) {
this.fromDate = fromDate;
}

/**
* The getter for toDate.
*
* @return the toDate
*/
public OffsetDateTime getToDate() {
return toDate;
}

/**
* The setter for toDate.
*
* @param toDate the toDate to set
*/
public void setToDate(OffsetDateTime toDate) {
this.toDate = toDate;
}

/**
* The getter for confidentialAddressCategories.
*
* @return the confidentialAddressCategories
*/
public String[] getConfidentialAddressCategories() {
return confidentialAddressCategories;
}

/**
* The setter for confidentialAddressCategories.
*
* @param confidentialAddressCategories the confidentialAddressCategories to set
*/
public void setConfidentialAddressCategories(String[] confidentialAddressCategories) {
this.confidentialAddressCategories = confidentialAddressCategories;
}

/**
* The getter for activeConfidentialCategory.
*
* @return the activeConfidentialCategory
*/
public String getActiveConfidentialCategory() {
return activeConfidentialCategory;
}

/**
* The setter for activeConfidentialCategory.
*
* @param activeConfidentialCategory the activeConfidentialCategory to set
*/
public void setActiveConfidentialCategory(String activeConfidentialCategory) {
this.activeConfidentialCategory = activeConfidentialCategory;
}

/**
* The getter of myType.
*
* @return the myType
*/
public static ConfidentialAddress getMyType() {
return myType;
}

/**
* The setter of myType.
*
* @param myType the myType to set
*/
public static void setMyType(ConfidentialAddress myType) {
ConfidentialAddress.myType = myType;
}
}