/** * Create an instance of {@link UserListType } * */ public UserListType createUserListType() { return new UserListType(); }
public boolean equals(Object object) { final EqualsStrategy strategy = DomAwareEqualsStrategy.INSTANCE; return equals(null, null, object, strategy); }
public UserListType user(UserType value) { getUser().add(value); return this; }
/** * Creates a new {@code UserListType} instance by deeply copying a given {@code UserListType} instance. * * * @param o * The instance to copy. * @throws NullPointerException * if {@code o} is {@code null}. */ public UserListType(final UserListType 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 'UserListType' from 'null'."); } // 'User' collection. if (o.user!= null) { copyUser(o.getUser(), this.getUser()); } }
public int hashCode() { final HashCodeStrategy strategy = DomAwareHashCodeStrategy.INSTANCE; return this.hashCode(null, strategy); }
public UserType beginUser() { UserType value = new UserType(); user(value); return value; }
/** * Creates and returns a deep copy of this object. * * * @return * A deep copy of this object. */ @Override public UserListType clone() { try { { // CC-XJC Version 2.0 Build 2011-09-16T18:27:24+0000 final UserListType clone = ((UserListType) super.clone()); // 'User' collection. if (this.user!= null) { clone.user = null; copyUser(this.getUser(), clone.getUser()); } return clone; } } catch (CloneNotSupportedException e) { // Please report this at https://apps.sourceforge.net/mantisbt/ccxjc/ throw new AssertionError(e); } }
/** * Create an instance of {@link UserListType } * */ public UserListType createUserListType() { return new UserListType(); }
public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { int currentHashCode = 1; { List<UserType> theUser; theUser = (((this.user!= null)&&(!this.user.isEmpty()))?this.getUser():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "user", theUser), currentHashCode, theUser); } return currentHashCode; }
/** * Create an instance of {@link UserListType } * */ public UserListType createUserListType() { return new UserListType(); }
public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { if (!(object instanceof UserListType)) { return false; } if (this == object) { return true; } final UserListType that = ((UserListType) object); { List<UserType> lhsUser; lhsUser = (((this.user!= null)&&(!this.user.isEmpty()))?this.getUser():null); List<UserType> rhsUser; rhsUser = (((that.user!= null)&&(!that.user.isEmpty()))?that.getUser():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "user", lhsUser), LocatorUtils.property(thatLocator, "user", rhsUser), lhsUser, rhsUser)) { return false; } } return true; }