mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-15 22:13:08 +00:00
javadoc (doclint) and whitespace fixes
includes whitespace fixes as per Coding Conventions
This commit is contained in:
@@ -165,8 +165,12 @@ public class EPerson extends DSpaceObject implements DSpaceObjectLegacySupport
|
||||
* Locale specification of the form {language} or {language}_{territory},
|
||||
* e.g. "en", "en_US", "pt_BR" (the latter is Brazilian Portugese).
|
||||
*
|
||||
* @param context
|
||||
* The relevant DSpace Context.
|
||||
* @param language
|
||||
* language code
|
||||
* language code
|
||||
* @throws SQLException
|
||||
* An exception that provides information on a database access error or other errors.
|
||||
*/
|
||||
public void setLanguage(Context context, String language) throws SQLException {
|
||||
getePersonService().setMetadataSingleValue(context, this, "eperson", "language", null, null, language);
|
||||
@@ -186,7 +190,7 @@ public class EPerson extends DSpaceObject implements DSpaceObjectLegacySupport
|
||||
* Set the EPerson's email
|
||||
*
|
||||
* @param s
|
||||
* the new email
|
||||
* the new email
|
||||
*/
|
||||
public void setEmail(String s)
|
||||
{
|
||||
@@ -208,7 +212,7 @@ public class EPerson extends DSpaceObject implements DSpaceObjectLegacySupport
|
||||
* Set the EPerson's netid
|
||||
*
|
||||
* @param netid
|
||||
* the new netid
|
||||
* the new netid
|
||||
*/
|
||||
public void setNetid(String netid) {
|
||||
this.netid = netid;
|
||||
@@ -253,8 +257,12 @@ public class EPerson extends DSpaceObject implements DSpaceObjectLegacySupport
|
||||
/**
|
||||
* Set the eperson's first name
|
||||
*
|
||||
* @param context
|
||||
* The relevant DSpace Context.
|
||||
* @param firstname
|
||||
* the person's first name
|
||||
* the person's first name
|
||||
* @throws SQLException
|
||||
* An exception that provides information on a database access error or other errors.
|
||||
*/
|
||||
public void setFirstName(Context context, String firstname) throws SQLException {
|
||||
getePersonService().setMetadataSingleValue(context, this, "eperson", "firstname", null, null, firstname);
|
||||
@@ -274,8 +282,12 @@ public class EPerson extends DSpaceObject implements DSpaceObjectLegacySupport
|
||||
/**
|
||||
* Set the eperson's last name
|
||||
*
|
||||
* @param context
|
||||
* The relevant DSpace Context.
|
||||
* @param lastname
|
||||
* the person's last name
|
||||
* the person's last name
|
||||
* @throws SQLException
|
||||
* An exception that provides information on a database access error or other errors.
|
||||
*/
|
||||
public void setLastName(Context context, String lastname) throws SQLException {
|
||||
getePersonService().setMetadataSingleValue(context, this, "eperson", "lastname", null, null, lastname);
|
||||
@@ -286,7 +298,7 @@ public class EPerson extends DSpaceObject implements DSpaceObjectLegacySupport
|
||||
* Indicate whether the user can log in
|
||||
*
|
||||
* @param login
|
||||
* boolean yes/no
|
||||
* boolean yes/no
|
||||
*/
|
||||
public void setCanLogIn(boolean login)
|
||||
{
|
||||
@@ -308,7 +320,7 @@ public class EPerson extends DSpaceObject implements DSpaceObjectLegacySupport
|
||||
* Set require cert yes/no
|
||||
*
|
||||
* @param isrequired
|
||||
* boolean yes/no
|
||||
* boolean yes/no
|
||||
*/
|
||||
public void setRequireCertificate(boolean isrequired)
|
||||
{
|
||||
@@ -330,7 +342,7 @@ public class EPerson extends DSpaceObject implements DSpaceObjectLegacySupport
|
||||
* Indicate whether the user self-registered
|
||||
*
|
||||
* @param sr
|
||||
* boolean yes/no
|
||||
* boolean yes/no
|
||||
*/
|
||||
public void setSelfRegistered(boolean sr)
|
||||
{
|
||||
@@ -369,7 +381,7 @@ public class EPerson extends DSpaceObject implements DSpaceObjectLegacySupport
|
||||
}
|
||||
|
||||
/**
|
||||
* return type found in Constants
|
||||
* @return type found in Constants, see {@link org.dspace.core.Constants#Constants Constants}
|
||||
*/
|
||||
@Override
|
||||
public int getType()
|
||||
|
Reference in New Issue
Block a user