public interface ProgramEntryForm extends OsidRelationshipForm
This is the form for creating and updating ProgramEntries.
Like all OsidForm
objects, various data elements
may be set here for use in the create and update methods in the
ProgramEntryAdminSession.
For each data element that may be set,
metadata may be examined to provide display hints or data constraints.
Modifier and Type | Method and Description |
---|---|
void |
clearAdmissionDate()
Clears the admission date.
|
void |
clearComplete()
Clears the complete flag.
|
void |
clearCreditScale()
Clears the credit scale.
|
void |
clearCreditsEarned()
Clears the credits earned.
|
void |
clearGPA()
Clears the gpa.
|
void |
clearGPAScale()
Clears the gpa scale.
|
void |
clearTerm()
Clears the term.
|
Metadata |
getAdmissionDateMetadata()
Gets the metadata for the admission date.
|
Metadata |
getCompleteMetadata()
Gets the metadta for the completionm flag.
|
Metadata |
getCreditScaleMetadata()
Gets the metadata for the credit scale.
|
Metadata |
getCreditsEarnedMetadata()
Gets the metadata for the credits earned.
|
Metadata |
getGPAMetadata()
Gets the metadata for the gpa.
|
Metadata |
getGPAScaleMetadata()
Gets the metadata for the gpa scale.
|
ProgramEntryFormRecord |
getProgramEntryFormRecord(Type programEntryRecordType)
Gets the
ProgramEntryFormRecord corresponding to the
given program entry record Type. |
Metadata |
getTermMetadata()
Gets the metadata for the term.
|
void |
setAdmissionDate(DateTime date)
Sets the admission date.
|
void |
setComplete(boolean complete)
Sets the program is complete flag.
|
void |
setCreditScale(Id gradeSystemId)
Sets the credit scale.
|
void |
setCreditsEarned(java.math.BigDecimal credits)
Sets the credits earned.
|
void |
setGPA(java.math.BigDecimal gpa)
Sets the gpa.
|
void |
setGPAScale(Id gradeSystemId)
Sets the gpa scale.
|
void |
setTerm(Id termId)
Sets the term.
|
clearDescription, clearDisplayName, clearGenusType, getDescriptionMetadata, getDisplayNameMetadata, getGenusTypeMetadata, setDescription, setDisplayName, setGenusType
getRequiredRecordTypes
getRecordTypes, hasRecordType
getDefaultLocale, getInvalidMetadata, getJournalCommentMetadata, getLocales, getValidationMessages, isForUpdate, isValid, setJournalComment, setLocale
getId, isCurrent
clearEndDate, clearStartDate, getEndDateMetadata, getStartDateMetadata, setEndDate, setStartDate
Metadata getAdmissionDateMetadata()
mandatory
- This method must be implemented. void setAdmissionDate(DateTime date)
date
- the new dateInvalidArgumentException
- date
is
invalidNoAccessException
- Metadata.isReadOnly()
is true
NullArgumentException
- date
is
null
mandatory
- This method must be implemented. void clearAdmissionDate()
NoAccessException
- Metadata.isRequired()
or Metadata.isReadOnly()
is true
mandatory
- This method must be implemented. Metadata getCompleteMetadata()
mandatory
- This method must be implemented. void setComplete(boolean complete)
complete
- the new complete flagInvalidArgumentException
- complete
is
invalidNoAccessException
- Metadata.isReadOnly()
is true
mandatory
- This method must be implemented. void clearComplete()
NoAccessException
- Metadata.isRequired()
or Metadata.isReadOnly()
is true
mandatory
- This method must be implemented. Metadata getTermMetadata()
mandatory
- This method must be implemented. void setTerm(Id termId)
termId
- the new termInvalidArgumentException
- termId
is
invalidNoAccessException
- Metadata.isReadOnly()
is true
NullArgumentException
- termId
is
null
mandatory
- This method must be implemented. void clearTerm()
NoAccessException
- Metadata.isRequired()
or Metadata.isReadOnly()
is true
mandatory
- This method must be implemented. Metadata getCreditScaleMetadata()
mandatory
- This method must be implemented. void setCreditScale(Id gradeSystemId)
gradeSystemId
- the new grade systemInvalidArgumentException
- gradeSystemId
is invalidNoAccessException
- Metadata.isReadOnly()
is true
NullArgumentException
- gradeSystemId
is
null
mandatory
- This method must be implemented. void clearCreditScale()
NoAccessException
- Metadata.isRequired()
or Metadata.isReadOnly()
is true
mandatory
- This method must be implemented. Metadata getCreditsEarnedMetadata()
mandatory
- This method must be implemented. void setCreditsEarned(java.math.BigDecimal credits)
credits
- the new creditsInvalidArgumentException
- credits
is
invalidNoAccessException
- Metadata.isReadOnly()
is true
mandatory
- This method must be implemented. void clearCreditsEarned()
NoAccessException
- Metadata.isRequired()
or Metadata.isReadOnly()
is true
mandatory
- This method must be implemented. Metadata getGPAScaleMetadata()
mandatory
- This method must be implemented. void setGPAScale(Id gradeSystemId)
gradeSystemId
- the new grade systemInvalidArgumentException
- gradeSystemId
is invalidNoAccessException
- Metadata.isReadOnly()
is true
NullArgumentException
- gradeSystemId
is
null
mandatory
- This method must be implemented. void clearGPAScale()
NoAccessException
- Metadata.isRequired()
or Metadata.isReadOnly()
is true
mandatory
- This method must be implemented. Metadata getGPAMetadata()
mandatory
- This method must be implemented. void setGPA(java.math.BigDecimal gpa)
gpa
- the new gpaInvalidArgumentException
- gpa
is
invalidNoAccessException
- Metadata.isReadOnly()
is true
mandatory
- This method must be implemented. void clearGPA()
NoAccessException
- Metadata.isRequired()
or Metadata.isReadOnly()
is true
mandatory
- This method must be implemented. ProgramEntryFormRecord getProgramEntryFormRecord(Type programEntryRecordType) throws OperationFailedException
ProgramEntryFormRecord
corresponding to the
given program entry record Type.
programEntryRecordType
- a program entry record typeNullArgumentException
- programEntryRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(programEntryRecordType)
is false
mandatory
- This method must be implemented.