Package edu.upf.taln.dri.lib.model.ext
Class InstitutionImpl
- java.lang.Object
-
- edu.upf.taln.dri.lib.model.BaseDocumentElem
-
- edu.upf.taln.dri.lib.model.ext.InstitutionImpl
-
- All Implemented Interfaces:
Institution
public class InstitutionImpl extends BaseDocumentElem implements Institution
IMPORTANT: Never instantiate directly this class!
Institution representing an institution, usually mentioned in the header of the document as the affiliation of the authors
-
-
Field Summary
-
Fields inherited from class edu.upf.taln.dri.lib.model.BaseDocumentElem
cacheManager
-
-
Constructor Summary
Constructors Constructor Description InstitutionImpl(DocCacheManager cacheManager)
InstitutionImpl(DocCacheManager cacheManager, String fullText, String name, String subName, String address, String state, String city, String URL)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
asString(boolean compactOutput)
String representation of the objectString
getAddress()
The name of the institutionString
getCity()
The city of the institutionString
getFullText()
The full text of the institutionString
getName()
The name of the institutionString
getState()
The state of the institutionString
getSubName()
The name of the department, laboratory, groupString
getURL()
void
setAddress(String address)
void
setCity(String city)
void
setFullText(String fullText)
void
setName(String name)
void
setState(String state)
void
setSubName(String subName)
void
setURL(String URL)
-
Methods inherited from class edu.upf.taln.dri.lib.model.BaseDocumentElem
getCacheManager, setCacheManager
-
-
-
-
Constructor Detail
-
InstitutionImpl
public InstitutionImpl(DocCacheManager cacheManager)
-
-
Method Detail
-
setFullText
public void setFullText(String fullText)
-
setName
public void setName(String name)
-
setSubName
public void setSubName(String subName)
-
setState
public void setState(String state)
-
setCity
public void setCity(String city)
-
getFullText
public String getFullText()
Description copied from interface:Institution
The full text of the institution- Specified by:
getFullText
in interfaceInstitution
- Returns:
-
getName
public String getName()
Description copied from interface:Institution
The name of the institution- Specified by:
getName
in interfaceInstitution
- Returns:
-
getSubName
public String getSubName()
Description copied from interface:Institution
The name of the department, laboratory, group- Specified by:
getSubName
in interfaceInstitution
- Returns:
-
getAddress
public String getAddress()
Description copied from interface:Institution
The name of the institution- Specified by:
getAddress
in interfaceInstitution
- Returns:
-
setAddress
public void setAddress(String address)
-
getState
public String getState()
Description copied from interface:Institution
The state of the institution- Specified by:
getState
in interfaceInstitution
- Returns:
-
getCity
public String getCity()
Description copied from interface:Institution
The city of the institution- Specified by:
getCity
in interfaceInstitution
- Returns:
-
getURL
public String getURL()
-
setURL
public void setURL(String URL)
-
asString
public String asString(boolean compactOutput)
Description copied from interface:Institution
String representation of the object- Specified by:
asString
in interfaceInstitution
- Returns:
-
-