Package edu.harvard.hul.ois.jhove
Class Agent.Builder
- java.lang.Object
-
- edu.harvard.hul.ois.jhove.Agent.Builder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Agent.Builderaddress(String address)Sets the value of the address property.Agentbuild()Agent.Builderemail(String email)Sets the value of the email property.Agent.Builderfax(String fax)Sets the value of the fax property.Agent.Buildername(String name)Sets the value of the name property.Agent.Buildernote(String note)Sets the value of the note property.Agent.Buildertelephone(String telephone)Sets the value of the telephone property.Agent.Builderweb(String web)Sets the value of the web property.
-
-
-
Method Detail
-
address
public Agent.Builder address(String address)
Sets the value of the address property.
-
email
public Agent.Builder email(String email)
Sets the value of the email property.
-
fax
public Agent.Builder fax(String fax)
Sets the value of the fax property.
-
name
public Agent.Builder name(String name)
Sets the value of the name property.
-
note
public Agent.Builder note(String note)
Sets the value of the note property.
-
telephone
public Agent.Builder telephone(String telephone)
Sets the value of the telephone property.
-
web
public Agent.Builder web(String web)
Sets the value of the web property.
-
build
public Agent build()
- Returns:
- the immutable Agent instance build from the builder contents
-
-