Public Member Functions | Static Public Attributes | Static Private Attributes | List of all members
wirecell.util.wires.db.DetectorCrateLink Class Reference
Inheritance diagram for wirecell.util.wires.db.DetectorCrateLink:
Base

Public Member Functions

def __repr__ (self)
 
- Public Member Functions inherited from Base
virtual std::string who () const
 
virtual ~Base () noexcept=default
 

Static Public Attributes

 detector_id = Column(Integer, ForeignKey('detectors.id'), primary_key=True)
 
 crate_id = Column(Integer, ForeignKey('crates.id'), primary_key=True)
 
 detector = relationship('Detector', back_populates='crate_links')
 
 crate = relationship('Crate', back_populates='detector_links')
 
 address = Column(Integer)
 

Static Private Attributes

string __tablename__ = "detector_crate_links"
 

Detailed Description

A join table for detector-crate association.

Definition at line 516 of file db.py.

Member Function Documentation

def wirecell.util.wires.db.DetectorCrateLink.__repr__ (   self)

Definition at line 529 of file db.py.

529  def __repr__(self):
530  return "<DetectorCrateLink address:%s [%s %s]> " % \
531  (self.address, self.detector, self.crate)

Member Data Documentation

string wirecell.util.wires.db.DetectorCrateLink.__tablename__ = "detector_crate_links"
staticprivate

Definition at line 520 of file db.py.

wirecell.util.wires.db.DetectorCrateLink.address = Column(Integer)
static

Definition at line 527 of file db.py.

wirecell.util.wires.db.DetectorCrateLink.crate = relationship('Crate', back_populates='detector_links')
static

Definition at line 525 of file db.py.

wirecell.util.wires.db.DetectorCrateLink.crate_id = Column(Integer, ForeignKey('crates.id'), primary_key=True)
static

Definition at line 523 of file db.py.

wirecell.util.wires.db.DetectorCrateLink.detector = relationship('Detector', back_populates='crate_links')
static

Definition at line 524 of file db.py.

wirecell.util.wires.db.DetectorCrateLink.detector_id = Column(Integer, ForeignKey('detectors.id'), primary_key=True)
static

Definition at line 522 of file db.py.


The documentation for this class was generated from the following file: