Page Menu
Home
HEPForge
Search
Configure Global Search
Log In
Files
F8310487
Axis.java
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Subscribers
None
Axis.java
View Options
package
cedar.hepdata.model
;
import
cedar.hepdata.util.Unit
;
/**
* An Axis is a property of a {@link Dataset}, containing a header and
* description and a set of either bins or points.
* {@link XAxis} and {@link YAxis} are concrete implementations.
* One Dataset may have multiple Axes. Every Axis has an associated {@link Unit}.
*
* @author Andy Buckley
* @version $Date: 2006-09-25 12:53:39 +0100 (Mon, 25 Sep 2006) $ $Revision: 678 $
*/
public
abstract
class
Axis
extends
Storeable
{
private
Paper
paper
;
private
Dataset
dataset
;
private
String
header
;
/// @todo How to automatically persist the Unit in the db via the Unit.toString() method?
private
Unit
unit
;
/** No-arg constructor for Hibernate **/
public
Axis
()
{}
// Paper
public
Paper
getPaper
()
{
return
paper
;
}
public
void
setPaper
(
Paper
paper
)
{
this
.
paper
=
paper
;
}
// Dataset
public
Dataset
getDataset
()
{
return
dataset
;
}
public
void
setDataset
(
Dataset
dataset
)
{
this
.
dataset
=
dataset
;
}
// Header
public
String
getHeader
()
{
return
header
;
}
public
void
setHeader
(
String
header
)
{
this
.
header
=
header
;
}
// Description
//public String getDescription() {
// return description;
//}
//public void setDescription(String description) {
// this.description = description;
//}
// Unit
public
Unit
getUnit
()
{
return
unit
;
}
public
void
setUnit
(
Unit
unit
)
{
this
.
unit
=
unit
;
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Dec 21, 6:38 PM (5 h, 42 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4023840
Default Alt Text
Axis.java (1 KB)
Attached To
rHEPDATASVN hepdatasvn
Event Timeline
Log In to Comment