org.squashtest.csp.tm.domain.testautomation
Class TestAutomationProject
java.lang.Object
org.squashtest.csp.tm.domain.testautomation.TestAutomationProject
@Entity
public class TestAutomationProject
- extends Object
Like every entities in the package org.squashtest.csp.tm.domain.testautomation, these are immutable : modifying servers, projects etc
could break existing data. For instance changing the URL of a server, or its kind, means that a new instance of AutomatedTestServer should
be persisted instead of altering the existing one. In other words, our objects here are immutable. When a setter is used, a new instance of
this will be returned, with a null ID because this instance is still unknown.
- Author:
- bsiri
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestAutomationProject
public TestAutomationProject()
TestAutomationProject
public TestAutomationProject(String name,
TestAutomationServer server)
getId
public Long getId()
getName
public String getName()
getServer
public TestAutomationServer getServer()
newWithName
public TestAutomationProject newWithName(String name)
newWithServer
public TestAutomationProject newWithServer(TestAutomationServer server)
Copyright © 2010-2012 Henix, henix.fr. All Rights Reserved.