1 package org.sapia.util.xml.confix; 2 3 4 27 public class CreationStatus { 28 boolean _assigned = false; 29 Object _created; 30 31 private CreationStatus(Object created) { 32 _created = created; 33 } 34 35 40 public Object getCreated() { 41 return _created; 45 } 46 47 52 public void setCreated(Object created) { 53 _created = created; 54 } 55 56 63 public boolean wasAssigned() { 64 return _assigned; 65 } 66 67 73 public CreationStatus assigned(boolean assigned) { 74 _assigned = assigned; 75 76 return this; 77 } 78 79 86 public static CreationStatus create(Object created) { 87 return new CreationStatus(created); 88 } 89 } 90 | Popular Tags |