@Entity public class Cable extends Persistable
| Modifier and Type | Class and Description |
|---|---|
static class |
Cable.Validity
This represents the data validity of the cable.
|
id| Constructor and Description |
|---|
Cable(String system,
String subsystem,
String cableClass,
Integer seqNumber,
List<String> owners,
CableStatus status,
CableArticle cableArticle,
CableType cableType,
String container,
Endpoint endpointA,
Endpoint endpointB,
Date created,
Date modified,
InstallationPackage installationPackage,
Date installationBy,
String comments,
String revision,
String electricalDocumentation)
Creates a new instance of a cable.
|
Cable(String system,
String subsystem,
String cableClass,
Integer seqNumber,
List<String> owners,
Date created,
Date modified)
Creates a new instance of a cable.
|
getIdpublic Cable(String system, String subsystem, String cableClass, Integer seqNumber, List<String> owners, Date created, Date modified)
system - the cable system digitsubsystem - the cable subsystem digitcableClass - the cable class letterseqNumber - the cable sequential numberowners - the cable ownerscreated - the creation date of this cablemodified - the modification date of this cablepublic Cable(String system, String subsystem, String cableClass, Integer seqNumber, List<String> owners, CableStatus status, CableArticle cableArticle, CableType cableType, String container, Endpoint endpointA, Endpoint endpointB, Date created, Date modified, InstallationPackage installationPackage, Date installationBy, String comments, String revision, String electricalDocumentation)
system - the cable system digitsubsystem - the cable subsystem digitcableClass - the cable class letterseqNumber - the cable sequential numberowners - the cable ownersstatus - the cable statuscableArticle - the cable articlecableType - the cable typecontainer - the container cable number of this cableendpointA - endpoint a of the cableendpointB - endpoint b of the cablecreated - the creation date of this cablemodified - the modification date of this cableinstallationPackage - the installation package value for this cable instanceinstallationBy - the date by which this cable is installedcomments - the comments of this cablerevision - the revision of this cableelectricalDocumentation - link to electrical documentationpublic String getName()
public String getSystem()
public void setSystem(String system)
public String getSubsystem()
public void setSubsystem(String subsystem)
public String getCableClass()
public void setCableClass(String cableClass)
public Integer getSeqNumber()
public void setSeqNumber(Integer seqNumber)
public String getFbsTag()
public void setFbsTag(String fbsTag)
public void setOwnersString(String ownersString)
public String getOwnersString()
public void updateOwnersString()
public CableArticle getCableArticle()
public void setCableArticle(CableArticle cableArticle)
public CableType getCableType()
public void setCableType(CableType cableType)
public String getContainer()
public void setContainer(String container)
public Endpoint getEndpointA()
public void setEndpointA(Endpoint endpointA)
public Endpoint getEndpointB()
public void setEndpointB(Endpoint endpointB)
public InstallationPackage getInstallationPackage()
public void setInstallationPackage(InstallationPackage installationPackage)
public Date getInstallationBy()
public void setInstallationBy(Date installationBy)
public Date getTerminationBy()
public void setTerminationBy(Date terminationBy)
public String getComments()
public void setComments(String comments)
public Date getCreated()
public void setCreated(Date created)
public Date getModified()
public void setModified(Date modified)
modified - the modified date to setpublic CableStatus getStatus()
public void setStatus(CableStatus status)
status - the status to setpublic Cable.Validity getValidity()
public void setValidity(Cable.Validity validity)
validity - the validity to setpublic boolean isValid()
public String getRevision()
public void setRevision(String revision)
public boolean isHasProblem()
public void setHasProblem(boolean hasProblem)
public String getElectricalDocumentation()
public void setElectricalDocumentation(String electricalDocumentation)
public String getChessId()
public void setChessId(String chessId)
Copyright © 2025 European Spallation Source. All rights reserved.