public class AMCrewUnitTestLibrary
extends java.lang.Object
Constructor and Description |
---|
AMCrewUnitTestLibrary() |
Modifier and Type | Method and Description |
---|---|
static AMCrew |
addAssetToAMCrewViaNewRow(AMCrew amcrew,
java.lang.String toolseq,
Asset asset,
java.util.Date effectiveDate,
java.util.Date enddate,
boolean addToolRequirement,
boolean commit) |
static AMCrew |
addAssetToAMCrewViaUnrestricted(AMCrew amcrew,
java.lang.String toolseq,
Asset asset,
java.util.Date effectiveDate,
java.util.Date enddate) |
static AMCrewToolSq |
addRequiredToolToAMCrew(AMCrew amcrew,
java.lang.String toolseq,
java.lang.String itemnum,
boolean commit) |
static AMCrew |
createAMCrew() |
static AMCrew |
createAMCrew(java.lang.String amcrewName) |
static AMCrew |
createAMCrew(java.lang.String amcrewName,
boolean evening)
Creates a person with a generated person name with no other information.
|
static Asset |
createAsset(java.lang.String assetName) |
static java.util.Date |
setTime(java.util.Date date,
int dayOffSet,
int hour,
int minute,
int second,
int millisecond) |
public static AMCrew createAMCrew()
public static AMCrew createAMCrew(java.lang.String amcrewName)
public static AMCrew createAMCrew(java.lang.String amcrewName, boolean evening)
personName
- public static AMCrew addAssetToAMCrewViaNewRow(AMCrew amcrew, java.lang.String toolseq, Asset asset, java.util.Date effectiveDate, java.util.Date enddate, boolean addToolRequirement, boolean commit) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public static AMCrew addAssetToAMCrewViaUnrestricted(AMCrew amcrew, java.lang.String toolseq, Asset asset, java.util.Date effectiveDate, java.util.Date enddate) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public static AMCrewToolSq addRequiredToolToAMCrew(AMCrew amcrew, java.lang.String toolseq, java.lang.String itemnum, boolean commit) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public static Asset createAsset(java.lang.String assetName)
public static java.util.Date setTime(java.util.Date date, int dayOffSet, int hour, int minute, int second, int millisecond)