5b9fb3c4475254e89effa978dc5a12f64bebebcc.svn-base 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. /**
  2. * Copyright 2015-2016 the original author or authors.
  3. * <p>
  4. * Licensed under the Apache License, Version 2.0 (the "License");
  5. * you may not use this file except in compliance with the License.
  6. * You may obtain a copy of the License at
  7. * <p>
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. * <p>
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS,
  12. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. * See the License for the specific language governing permissions and
  14. * limitations under the License.
  15. */
  16. package cn.com.goldenwater.dcproj.controller.mend.bpm;
  17. import java.util.HashMap;
  18. import java.util.Map;
  19. /**
  20. * Purpose.
  21. *
  22. * A description of why this class exists.
  23. * For what reason was it written?
  24. * Which jobs does it perform?
  25. * {@code DataAccessException} using
  26. * @author
  27. * @date 2021-01-07
  28. */
  29. public class RespDTO<T> {
  30. private T content;
  31. private Map<String, String> _links = new HashMap<>();
  32. public T getContent() {
  33. return content;
  34. }
  35. public void setContent(T content) {
  36. this.content = content;
  37. }
  38. public Map<String, String> get_links() {
  39. return _links;
  40. }
  41. public void set_links(Map<String, String> _links) {
  42. this._links = _links;
  43. }
  44. }