/** * Create an instance of {@link ResourceCredentialsDefinitionType } * */ public ResourceCredentialsDefinitionType createResourceCredentialsDefinitionType() { return new ResourceCredentialsDefinitionType(); }
public boolean equals(Object object) { final EqualsStrategy strategy = DomAwareEqualsStrategy.INSTANCE; return equals(null, null, object, strategy); }
public int hashCode() { final HashCodeStrategy strategy = DomAwareHashCodeStrategy.INSTANCE; return this.hashCode(null, strategy); }
/** * Creates a new {@code ResourceCredentialsDefinitionType} instance by deeply copying a given {@code ResourceCredentialsDefinitionType} instance. * * * @param o * The instance to copy. * @throws NullPointerException * if {@code o} is {@code null}. */ public ResourceCredentialsDefinitionType(final ResourceCredentialsDefinitionType o) { // CC-XJC Version 2.0 Build 2011-09-16T18:27:24+0000 super(); if (o == null) { throw new NullPointerException("Cannot create a copy of 'ResourceCredentialsDefinitionType' from 'null'."); } // CClassInfo: com.evolveum.midpoint.xml.ns._public.common.common_3.ResourcePasswordDefinitionType this.password = ((o.password == null)?null:((o.getPassword() == null)?null:o.getPassword().clone())); }
public ResourceCredentialsDefinitionType password(ResourcePasswordDefinitionType value) { setPassword(value); return this; }
public ResourcePasswordDefinitionType beginPassword() { ResourcePasswordDefinitionType value = new ResourcePasswordDefinitionType(); password(value); return value; }
@Override public ResourcePasswordDefinitionType getPasswordDefinition() { if (schemaHandlingObjectTypeDefinitionType == null) { return null; } ResourceCredentialsDefinitionType credentials = schemaHandlingObjectTypeDefinitionType.getCredentials(); if (credentials == null) { return null; } return credentials.getPassword(); }
/** * Creates and returns a deep copy of this object. * * * @return * A deep copy of this object. */ @Override public ResourceCredentialsDefinitionType clone() { try { { // CC-XJC Version 2.0 Build 2011-09-16T18:27:24+0000 final ResourceCredentialsDefinitionType clone = ((ResourceCredentialsDefinitionType) super.clone()); // CClassInfo: com.evolveum.midpoint.xml.ns._public.common.common_3.ResourcePasswordDefinitionType clone.password = ((this.password == null)?null:((this.getPassword() == null)?null:this.getPassword().clone())); return clone; } } catch (CloneNotSupportedException e) { // Please report this at https://apps.sourceforge.net/mantisbt/ccxjc/ throw new AssertionError(e); } }
/** * Create an instance of {@link ResourceCredentialsDefinitionType } * */ public ResourceCredentialsDefinitionType createResourceCredentialsDefinitionType() { return new ResourceCredentialsDefinitionType(); }
public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { int currentHashCode = 1; { ResourcePasswordDefinitionType thePassword; thePassword = this.getPassword(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "password", thePassword), currentHashCode, thePassword); } return currentHashCode; }
/** * Create an instance of {@link ResourceCredentialsDefinitionType } * */ public ResourceCredentialsDefinitionType createResourceCredentialsDefinitionType() { return new ResourceCredentialsDefinitionType(); }
public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { if (!(object instanceof ResourceCredentialsDefinitionType)) { return false; } if (this == object) { return true; } final ResourceCredentialsDefinitionType that = ((ResourceCredentialsDefinitionType) object); { ResourcePasswordDefinitionType lhsPassword; lhsPassword = this.getPassword(); ResourcePasswordDefinitionType rhsPassword; rhsPassword = that.getPassword(); if (!strategy.equals(LocatorUtils.property(thisLocator, "password", lhsPassword), LocatorUtils.property(thatLocator, "password", rhsPassword), lhsPassword, rhsPassword)) { return false; } } return true; }
public ResourceCredentialsDefinitionType beginCredentials() { ResourceCredentialsDefinitionType value = new ResourceCredentialsDefinitionType(); credentials(value); return value; }
checkPasswordMapping(ctx, credPath, ResourceCredentialsDefinitionType.F_PASSWORD, objectType, objectType.getCredentials().getPassword());