Package csw.params.core.models
Class ProgramId
- java.lang.Object
-
- csw.params.core.models.ProgramId
-
- All Implemented Interfaces:
java.io.Serializable
,scala.Equals
,scala.Product
public class ProgramId extends java.lang.Object implements scala.Product, java.io.Serializable
Represents a unique program idparam: semesterId semesterId for Program param: programNumber programNumber number in pattern P followed by 3 digit number
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ProgramId(SemesterId semesterId, int programNumber)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ProgramId
apply(java.lang.String programId)
int
programNumber()
SemesterId
semesterId()
java.lang.String
toString()
-
-
-
Constructor Detail
-
ProgramId
public ProgramId(SemesterId semesterId, int programNumber)
-
-
Method Detail
-
apply
public static ProgramId apply(java.lang.String programId)
-
semesterId
public SemesterId semesterId()
-
programNumber
public int programNumber()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-