@Override public Object get( String property ) { if ( property.equals( "globalM2RepoDir" ) ) { return getGlobalM2RepoDir(); } else if ( property.equals( "globalM2RepoDirEnabled" ) ) { return isGlobalM2RepoDirEnabled(); } else if ( property.equals( "workspaceM2RepoDir" ) ) { return getWorkspaceM2RepoDir(); } else if ( property.equals( "workspaceM2RepoDirEnabled" ) ) { return isWorkspaceM2RepoDirEnabled(); } else if ( property.equals( "distributionManagementM2RepoDirEnabled" ) ) { return isDistributionManagementM2RepoDirEnabled(); } else { throw new RuntimeException( "Unknown property: " + property ); } }
@Override public Object get( String property ) { if ( property.equals( "globalM2RepoDir" ) ) { return getGlobalM2RepoDir(); } else if ( property.equals( "globalM2RepoDirEnabled" ) ) { return isGlobalM2RepoDirEnabled(); } else if ( property.equals( "workspaceM2RepoDir" ) ) { return getWorkspaceM2RepoDir(); } else if ( property.equals( "workspaceM2RepoDirEnabled" ) ) { return isWorkspaceM2RepoDirEnabled(); } else if ( property.equals( "distributionManagementM2RepoDirEnabled" ) ) { return isDistributionManagementM2RepoDirEnabled(); } else { throw new RuntimeException( "Unknown property: " + property ); } }
@Override public Object get( String property ) { if ( property.equals( "globalM2RepoDir" ) ) { return getGlobalM2RepoDir(); } else if ( property.equals( "globalM2RepoDirEnabled" ) ) { return isGlobalM2RepoDirEnabled(); } else if ( property.equals( "workspaceM2RepoDir" ) ) { return getWorkspaceM2RepoDir(); } else if ( property.equals( "workspaceM2RepoDirEnabled" ) ) { return isWorkspaceM2RepoDirEnabled(); } else if ( property.equals( "distributionManagementM2RepoDirEnabled" ) ) { return isDistributionManagementM2RepoDirEnabled(); } else { throw new RuntimeException( "Unknown property: " + property ); } }
@Override public int hashCode() { int result = 0; result = 31 * result + ( getGlobalM2RepoDir() != null ? getGlobalM2RepoDir().hashCode() : 0 ); result = ~~result; result = 31 * result + java.lang.Boolean.hashCode( isGlobalM2RepoDirEnabled() ); result = ~~result; result = 31 * result + ( getWorkspaceM2RepoDir() != null ? getWorkspaceM2RepoDir().hashCode() : 0 ); result = ~~result; result = 31 * result + java.lang.Boolean.hashCode( isWorkspaceM2RepoDirEnabled() ); result = ~~result; result = 31 * result + java.lang.Boolean.hashCode( isDistributionManagementM2RepoDirEnabled() ); result = ~~result; return result; }
@Override public int hashCode() { int result = 0; result = 31 * result + ( getGlobalM2RepoDir() != null ? getGlobalM2RepoDir().hashCode() : 0 ); result = ~~result; result = 31 * result + java.lang.Boolean.hashCode( isGlobalM2RepoDirEnabled() ); result = ~~result; result = 31 * result + ( getWorkspaceM2RepoDir() != null ? getWorkspaceM2RepoDir().hashCode() : 0 ); result = ~~result; result = 31 * result + java.lang.Boolean.hashCode( isWorkspaceM2RepoDirEnabled() ); result = ~~result; result = 31 * result + java.lang.Boolean.hashCode( isDistributionManagementM2RepoDirEnabled() ); result = ~~result; return result; }
@Override public int hashCode() { int result = 0; result = 31 * result + ( getGlobalM2RepoDir() != null ? getGlobalM2RepoDir().hashCode() : 0 ); result = ~~result; result = 31 * result + java.lang.Boolean.hashCode( isGlobalM2RepoDirEnabled() ); result = ~~result; result = 31 * result + ( getWorkspaceM2RepoDir() != null ? getWorkspaceM2RepoDir().hashCode() : 0 ); result = ~~result; result = 31 * result + java.lang.Boolean.hashCode( isWorkspaceM2RepoDirEnabled() ); result = ~~result; result = 31 * result + java.lang.Boolean.hashCode( isDistributionManagementM2RepoDirEnabled() ); result = ~~result; return result; }
@Override public boolean equals( final Object o ) { if ( this == o ) { return true; } if ( o == null || getClass() != o.getClass() ) { return false; } final ArtifactRepositoryPreferencePortableGeneratedImpl that = (ArtifactRepositoryPreferencePortableGeneratedImpl) o; if ( getGlobalM2RepoDir() != null ? !getGlobalM2RepoDir().equals( that.getGlobalM2RepoDir() ) : that.getGlobalM2RepoDir() != null ) { return false; } if ( isGlobalM2RepoDirEnabled() != that.isGlobalM2RepoDirEnabled() ) { return false; } if ( getWorkspaceM2RepoDir() != null ? !getWorkspaceM2RepoDir().equals( that.getWorkspaceM2RepoDir() ) : that.getWorkspaceM2RepoDir() != null ) { return false; } if ( isWorkspaceM2RepoDirEnabled() != that.isWorkspaceM2RepoDirEnabled() ) { return false; } if ( isDistributionManagementM2RepoDirEnabled() != that.isDistributionManagementM2RepoDirEnabled() ) { return false; } return true; }
@Override public boolean equals( final Object o ) { if ( this == o ) { return true; } if ( o == null || getClass() != o.getClass() ) { return false; } final ArtifactRepositoryPreferencePortableGeneratedImpl that = (ArtifactRepositoryPreferencePortableGeneratedImpl) o; if ( getGlobalM2RepoDir() != null ? !getGlobalM2RepoDir().equals( that.getGlobalM2RepoDir() ) : that.getGlobalM2RepoDir() != null ) { return false; } if ( isGlobalM2RepoDirEnabled() != that.isGlobalM2RepoDirEnabled() ) { return false; } if ( getWorkspaceM2RepoDir() != null ? !getWorkspaceM2RepoDir().equals( that.getWorkspaceM2RepoDir() ) : that.getWorkspaceM2RepoDir() != null ) { return false; } if ( isWorkspaceM2RepoDirEnabled() != that.isWorkspaceM2RepoDirEnabled() ) { return false; } if ( isDistributionManagementM2RepoDirEnabled() != that.isDistributionManagementM2RepoDirEnabled() ) { return false; } return true; }
@Override public boolean equals( final Object o ) { if ( this == o ) { return true; } if ( o == null || getClass() != o.getClass() ) { return false; } final ArtifactRepositoryPreferencePortableGeneratedImpl that = (ArtifactRepositoryPreferencePortableGeneratedImpl) o; if ( getGlobalM2RepoDir() != null ? !getGlobalM2RepoDir().equals( that.getGlobalM2RepoDir() ) : that.getGlobalM2RepoDir() != null ) { return false; } if ( isGlobalM2RepoDirEnabled() != that.isGlobalM2RepoDirEnabled() ) { return false; } if ( getWorkspaceM2RepoDir() != null ? !getWorkspaceM2RepoDir().equals( that.getWorkspaceM2RepoDir() ) : that.getWorkspaceM2RepoDir() != null ) { return false; } if ( isWorkspaceM2RepoDirEnabled() != that.isWorkspaceM2RepoDirEnabled() ) { return false; } if ( isDistributionManagementM2RepoDirEnabled() != that.isDistributionManagementM2RepoDirEnabled() ) { return false; } return true; }