credentialOIDItems;
@XmlTransient
protected boolean useTestIDLTrustStore;
@XmlTransient
protected boolean useTestAuthBlockTrustStore;
/**
* Gets the value of the credentialOID property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the credentialOID property.
*
*
* For example, to add a new item, do as follows:
*
* getCredentialOID().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
@Transient
public List getCredentialOID() {
if (credentialOID == null) {
credentialOID = new ArrayList();
}
return this.credentialOID;
}
/**
*
*
*/
public void setCredentialOID(List credentialOID) {
this.credentialOID = credentialOID;
}
/**
* Gets the value of the enableTestCredentials property.
*
* @return
* possible object is
* {@link String }
*
*/
public boolean isEnableTestCredentials() {
if (enableTestCredentials == null) {
return new ZeroOneBooleanAdapter().unmarshal("false");
} else {
return enableTestCredentials;
}
}
/**
* Sets the value of the enableTestCredentials property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setEnableTestCredentials(Boolean value) {
this.enableTestCredentials = value;
}
/**
* Gets the value of the hjid property.
*
* @return
* possible object is
* {@link Long }
*
*/
public Long getHjid() {
return hjid;
}
/**
* Sets the value of the hjid property.
*
* @param value
* allowed object is
* {@link Long }
*
*/
public void setHjid(Long value) {
this.hjid = value;
}
// @OneToMany(targetEntity = TestCredentialsCredentialOIDItem.class, cascade = {
// CascadeType.ALL
// })
//
// public List getCredentialOIDItems() {
// if (this.credentialOIDItems == null) {
// this.credentialOIDItems = new ArrayList();
// }
// if (ItemUtils.shouldBeWrapped(this.credentialOID)) {
// this.credentialOID = ItemUtils.wrap(this.credentialOID, this.credentialOIDItems, TestCredentialsCredentialOIDItem.class);
// }
// return this.credentialOIDItems;
// }
//
// public void setCredentialOIDItems(List value) {
// this.credentialOID = null;
// this.credentialOIDItems = null;
// this.credentialOIDItems = value;
// if (this.credentialOIDItems == null) {
// this.credentialOIDItems = new ArrayList();
// }
// if (ItemUtils.shouldBeWrapped(this.credentialOID)) {
// this.credentialOID = ItemUtils.wrap(this.credentialOID, this.credentialOIDItems, TestCredentialsCredentialOIDItem.class);
// }
// }
/**
* @return the useTestIDLTrustStore
*/
public boolean isUseTestIDLTrustStore() {
return useTestIDLTrustStore;
}
/**
* @param useTestIDLTrustStore the useTestIDLTrustStore to set
*/
public void setUseTestIDLTrustStore(boolean useTestIDLTrustStore) {
this.useTestIDLTrustStore = useTestIDLTrustStore;
}
/**
* @return the useTestAuthBlockTrustStore
*/
public boolean isUseTestAuthBlockTrustStore() {
return useTestAuthBlockTrustStore;
}
/**
* @param useTestAuthBlockTrustStore the useTestAuthBlockTrustStore to set
*/
public void setUseTestAuthBlockTrustStore(boolean useTestAuthBlockTrustStore) {
this.useTestAuthBlockTrustStore = useTestAuthBlockTrustStore;
}
public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) {
if (!(object instanceof TestCredentials)) {
return false;
}
if (this == object) {
return true;
}
final TestCredentials that = ((TestCredentials) object);
{
List lhsCredentialOID;
lhsCredentialOID = (((this.credentialOID!= null)&&(!this.credentialOID.isEmpty()))?this.getCredentialOID():null);
List rhsCredentialOID;
rhsCredentialOID = (((that.credentialOID!= null)&&(!that.credentialOID.isEmpty()))?that.getCredentialOID():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "credentialOID", lhsCredentialOID), LocatorUtils.property(thatLocator, "credentialOID", rhsCredentialOID), lhsCredentialOID, rhsCredentialOID)) {
return false;
}
}
{
boolean lhsEnableTestCredentials;
lhsEnableTestCredentials = ((this.enableTestCredentials!= null)?this.isEnableTestCredentials():false);
boolean rhsEnableTestCredentials;
rhsEnableTestCredentials = ((that.enableTestCredentials!= null)?that.isEnableTestCredentials():false);
if (!strategy.equals(LocatorUtils.property(thisLocator, "enableTestCredentials", lhsEnableTestCredentials), LocatorUtils.property(thatLocator, "enableTestCredentials", rhsEnableTestCredentials), lhsEnableTestCredentials, rhsEnableTestCredentials)) {
return false;
}
}
return true;
}
public boolean equals(Object object) {
final EqualsStrategy strategy = JAXBEqualsStrategy.INSTANCE;
return equals(null, null, object, strategy);
}
public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) {
int currentHashCode = 1;
{
List theCredentialOID;
theCredentialOID = (((this.credentialOID!= null)&&(!this.credentialOID.isEmpty()))?this.getCredentialOID():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "credentialOID", theCredentialOID), currentHashCode, theCredentialOID);
}
{
boolean theEnableTestCredentials;
theEnableTestCredentials = ((this.enableTestCredentials!= null)?this.isEnableTestCredentials():false);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "enableTestCredentials", theEnableTestCredentials), currentHashCode, theEnableTestCredentials);
}
return currentHashCode;
}
public int hashCode() {
final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE;
return this.hashCode(null, strategy);
}
}