Package de.fraunhofer.iese.mydata.timer
Class Timer
java.lang.Object
de.fraunhofer.iese.mydata.common.MyDataEntity
de.fraunhofer.iese.mydata.timer.Timer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
internal timer validation: - validate xml schema - validate language version - validate solution and componentsboolean
static TimerId
extracts the timerId from the raw xmlint
hashCode()
boolean
boolean
boolean
boolean
void
setContent
(String timerXML) void
setDeployed
(boolean deployed) void
setLanguageValid
(boolean languageValid) void
setScopeValid
(boolean isScopeValid) void
setXmlValid
(boolean xmlValid) Methods inherited from class de.fraunhofer.iese.mydata.common.MyDataEntity
fromJson, getGson, getGson, toJson, toString, validate, validateAndNullCheck
-
Constructor Details
-
Timer
public Timer()default constructor -
Timer
create a new timer based on a xml string- Parameters:
xml
-
-
-
Method Details
-
setContent
-
equals
-
extractId
extracts the timerId from the raw xml- Parameters:
timer
-- Returns:
- the TimerId
-
getEvents
-
hashCode
public int hashCode() -
isDeployed
public boolean isDeployed() -
setDeployed
public void setDeployed(boolean deployed) -
isScopeValid
public boolean isScopeValid() -
isLanguageValid
public boolean isLanguageValid()- Returns:
- the languageValid
-
setLanguageValid
public void setLanguageValid(boolean languageValid) - Parameters:
languageValid
- the languageValid to set
-
setScopeValid
public void setScopeValid(boolean isScopeValid) - Parameters:
isScopeValid
- the isScopeValid to set
-
isXmlValid
public boolean isXmlValid()- Returns:
- the isXmlValid
-
setXmlValid
public void setXmlValid(boolean xmlValid) - Parameters:
xmlValid
- the isXmlValid to set
-
getSolutionId
-
doInternalValidation
public void doInternalValidation()internal timer validation: - validate xml schema - validate language version - validate solution and components
-