public class CableTypeUI extends Object implements Serializable
CableTypeUI is a presentation of CableType used in UI.| Modifier and Type | Field and Description |
|---|---|
static String |
STATUS_OBSOLETE
String representing obsolete cable type status.
|
static String |
STATUS_VALID
String representing valid cable type status.
|
| Constructor and Description |
|---|
CableTypeUI()
Constructs Cable type UI object for empty cable type instance.
|
CableTypeUI(CableType cableType)
Constructs Cable type UI object for given cable type instance.
|
| Modifier and Type | Method and Description |
|---|---|
CableType |
getCableType() |
String |
getComments() |
String |
getDescription() |
Float |
getDiameter() |
String |
getFlammability() |
Long |
getId() |
InstallationType |
getInstallationType() |
String |
getInstallationTypeString() |
String |
getInsulation() |
String |
getJacket() |
String |
getManufacturerAndDatasheetNames() |
String |
getManufacturerNames() |
List<CableTypeManufacturer> |
getManufacturers() |
String |
getManufacturerUrl(Manufacturer manufacturer)
Return url for given manufacturer.
|
String |
getName() |
String |
getRevision() |
String |
getService() |
Float |
getTid() |
String |
getValid() |
Integer |
getVoltage() |
Float |
getWeight() |
boolean |
isActive() |
void |
setComments(String comments)
Set comments.
|
void |
setDescription(String description)
Set description.
|
void |
setDiameter(Float diameter)
Set the outer diameter in mm.
|
void |
setFlammability(String flammability)
Set flammability classification.
|
void |
setInstallationTypeString(String installationType)
Set the allowed installation type.
|
void |
setInsulation(String insulation)
Set insulation material.
|
void |
setJacket(String jacket)
Set type of jacket.
|
void |
setName(String name)
Set name.
|
void |
setRevision(String revision) |
void |
setService(String service)
Set service/function description.
|
void |
setTid(Float tid)
Set total ionizing dose in mrad.
|
void |
setVoltage(Integer voltage)
Set voltage rating description.
|
void |
setWeight(Float weight)
Set weight in kg/meter.
|
String |
toString() |
public static final String STATUS_VALID
public static final String STATUS_OBSOLETE
public CableTypeUI()
public CableTypeUI(CableType cableType)
cableType - cable type instancepublic CableType getCableType()
public Long getId()
public void setName(String name)
name - namepublic String getName()
public void setDescription(String description)
description - descriptionpublic String getDescription()
public void setService(String service)
service - service/function descriptionpublic String getService()
public void setVoltage(Integer voltage)
voltage - rating descriptionpublic Integer getVoltage()
public void setInsulation(String insulation)
insulation - materialpublic String getInsulation()
public void setJacket(String jacket)
jacket - type of jacketpublic String getJacket()
public void setFlammability(String flammability)
flammability - flammability classificationpublic String getFlammability()
public InstallationType getInstallationType()
public void setInstallationTypeString(String installationType)
installationType - allowed installation typepublic String getInstallationTypeString()
public void setTid(Float tid)
tid - total ionizing dose in mradpublic Float getTid()
public void setWeight(Float weight)
weight - weight in kg/meterpublic Float getWeight()
public void setDiameter(Float diameter)
diameter - the outer diameter in mmpublic Float getDiameter()
public void setComments(String comments)
comments - commentspublic String getComments()
public String getRevision()
public void setRevision(String revision)
public boolean isActive()
public String getValid()
STATUS_VALID if cable type is in active use, STATUS_OBSOLETE elsepublic String getManufacturerUrl(Manufacturer manufacturer)
manufacturer - manufacturerpublic List<CableTypeManufacturer> getManufacturers()
CableType.getManufacturers()public String getManufacturerNames()
public String getManufacturerAndDatasheetNames()
Copyright © 2025 European Spallation Source. All rights reserved.