|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.harvard.hul.ois.jhove.Agent
public class Agent
Encapsulates information about agents, either individual persons or corporate bodies.
Constructor Summary | |
---|---|
Agent(java.lang.String name,
AgentType type)
Creates an Agent given a name and an AgentType. |
Method Summary | |
---|---|
java.lang.String |
getAddress()
Returns the value of the address property. |
java.lang.String |
getEmail()
Returns the value of the email property. |
java.lang.String |
getFax()
Returns the value of the fax property. |
java.lang.String |
getName()
Returns the value of the name property. |
java.lang.String |
getNote()
Returns the value of the note property. |
java.lang.String |
getTelephone()
Returns the value of the telephone property. |
AgentType |
getType()
Returns the value of the type property. |
java.lang.String |
getWeb()
Returns the value of the web property. |
void |
setAddress(java.lang.String address)
Sets the value of the address property. |
void |
setEmail(java.lang.String email)
Sets the value of the email property. |
void |
setFax(java.lang.String fax)
Sets the value of the fax property. |
void |
setName(java.lang.String name)
Sets the value of the name property. |
void |
setNote(java.lang.String note)
Sets the value of the note property. |
void |
setTelephone(java.lang.String telephone)
Sets the value of the telephone property. |
void |
setWeb(java.lang.String web)
Sets the value of the web property. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Agent(java.lang.String name, AgentType type)
Method Detail |
---|
public java.lang.String getAddress()
public java.lang.String getEmail()
public java.lang.String getFax()
public java.lang.String getName()
public java.lang.String getNote()
public java.lang.String getTelephone()
public AgentType getType()
public java.lang.String getWeb()
public void setAddress(java.lang.String address)
public void setEmail(java.lang.String email)
public void setFax(java.lang.String fax)
public void setName(java.lang.String name)
public void setNote(java.lang.String note)
public void setTelephone(java.lang.String telephone)
public void setWeb(java.lang.String web)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |