/** * Method removeProfile. * * @param profile */ public void removeProfile( Profile profile ) { getProfiles().remove( profile ); } //-- void removeProfile( Profile )
/** * Method addProfile. * * @param profile */ public void addProfile( Profile profile ) { getProfiles().add( profile ); } //-- void addProfile( Profile )
/** * Method addProfile * * @param profile */ public void addProfile(Profile profile) { if ( !(profile instanceof Profile) ) { throw new ClassCastException( "ContinuumDatabase.addProfiles(profile) parameter must be instanceof " + Profile.class.getName() ); } getProfiles().add( profile ); } //-- void addProfile(Profile)
/** * Method removeProfile * * @param profile */ public void removeProfile(Profile profile) { if ( !(profile instanceof Profile) ) { throw new ClassCastException( "ContinuumDatabase.removeProfiles(profile) parameter must be instanceof " + Profile.class.getName() ); } getProfiles().remove( profile ); } //-- void removeProfile(Profile)
/** * Method resolveReferences * * @param value */ private void resolveReferences(ContinuumDatabase value) { java.util.Map refs; for ( java.util.Iterator i = value.getProjectGroups().iterator(); i.hasNext(); ) { resolveReferences( (ProjectGroup) i.next() ); } for ( java.util.Iterator i = value.getProfiles().iterator(); i.hasNext(); ) { resolveReferences( (Profile) i.next() ); } } //-- void resolveReferences(ContinuumDatabase)
if ( continuumDatabase.getProfiles() != null && continuumDatabase.getProfiles().size() > 0 ) for ( Iterator iter = continuumDatabase.getProfiles().iterator(); iter.hasNext(); )
for ( java.util.Iterator i = value.getProfiles().iterator(); i.hasNext(); )
if ( ( continuumDatabase.getProfiles() != null ) && ( continuumDatabase.getProfiles().size() > 0 ) ) for ( Iterator iter = continuumDatabase.getProfiles().iterator(); iter.hasNext(); )
for ( Iterator i = database.getProfiles().iterator(); i.hasNext(); )
for ( Iterator i = database.getProfiles().iterator(); i.hasNext(); )