FEMElement.java 1002 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. package com.miniframe.solverconfig.fem;
  2. import io.netty.util.internal.StringUtil;
  3. /**
  4. * FEM 元素
  5. */
  6. public class FEMElement {
  7. private String key;
  8. private String order;
  9. private String value;
  10. public FEMElement() {
  11. super();
  12. }
  13. public FEMElement(String key, String order, String value) {
  14. this.key = key;
  15. this.order = order;
  16. this.value = value;
  17. }
  18. public String getKey() {
  19. return key;
  20. }
  21. public void setKey(String key) {
  22. this.key = key;
  23. }
  24. public String getOrder() {
  25. return order;
  26. }
  27. public void setOrder(String order) {
  28. this.order = order;
  29. }
  30. public String getValue() {
  31. return value;
  32. }
  33. public void setValue(String value) {
  34. this.value = value;
  35. }
  36. public String showAnalysisStr() {
  37. if(!StringUtil.isNullOrEmpty(this.value)){
  38. return "\""+key+"\" "+"\""+order+"\" "+"\""+value+"\"";
  39. }
  40. return null;
  41. }
  42. }