public class Header
extends java.lang.Object
implements java.io.Serializable
Header
object.Constructor and Description |
---|
Header()
Constructs a
Header object. |
Header(Annotation annotation,
Application application,
java.lang.String copyright,
java.lang.String description,
Timestamp timestamp)
Constructs a
Header object for the specified application,
including its copyright information, a description, and a timestamp. |
Header(Application application)
Constructs a
Header object for the specified application. |
Header(Application application,
Timestamp timestamp)
Constructs a
Header object for the specified application,
including its timestamp. |
Modifier and Type | Method and Description |
---|---|
Annotation |
getAnnotation()
Retrieves the header's annotation.
|
Application |
getApplication()
Retrieves the header's application.
|
java.lang.String |
getCopyright()
Retrieves the header's copyright information.
|
java.lang.String |
getDescription()
Retrieves the header's description.
|
Timestamp |
getTimestamp()
Retrieves the header's time stamp.
|
void |
setAnnotation(Annotation annotation)
Sets the header's annotation.
|
void |
setApplication(Application application)
Sets the header's application.
|
void |
setCopyright(java.lang.String copyright)
Sets the header's copyright information.
|
void |
setDescription(java.lang.String description)
Sets the header's description.
|
void |
setTimestamp(Timestamp timestamp)
Sets the header's time stamp.
|
public Header()
Header
object.public Header(Application application)
Header
object for the specified application.application
- The application.Application
public Header(Annotation annotation, Application application, java.lang.String copyright, java.lang.String description, Timestamp timestamp)
Header
object for the specified application,
including its copyright information, a description, and a timestamp.application
- The application.copyright
- A string containing the application's copyright.description
- A string containing the application's description.timestamp
- A Timestamp
object.Application
,
Timestamp
public Header(Application application, Timestamp timestamp)
Header
object for the specified application,
including its timestamp.application
- The application.timestamp
- A Timestamp
object.Application
,
Timestamp
public Annotation getAnnotation()
Annotation
.Annotation
public void setAnnotation(Annotation annotation)
annotation
- The Annotation
.Annotation
public Application getApplication()
Application
.Application
public void setApplication(Application application)
application
- The Application
.Application
public java.lang.String getCopyright()
public void setCopyright(java.lang.String copyright)
copyright
- A string containing copyright information.public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- A string containing the description.public Timestamp getTimestamp()
Timestamp
object.Timestamp