1 23 24 package org.infoglue.cms.entities.management; 25 26 import org.infoglue.cms.entities.kernel.BaseEntityVO; 27 import org.infoglue.cms.util.ConstraintExceptionBuffer; 28 29 public class RegistryVO implements BaseEntityVO 30 { 31 public final static Integer INLINE_LINK = new Integer (0); 32 public final static Integer INLINE_ASSET = new Integer (1); 33 public final static Integer PAGE_COMPONENT = new Integer (2); 34 public final static Integer PAGE_COMPONENT_BINDING = new Integer (3); 35 public final static Integer PAGE_BINDING = new Integer (4); 36 public final static Integer INLINE_SITE_NODE_RELATION = new Integer (5); 37 public final static Integer INLINE_CONTENT_RELATION = new Integer (6); 38 39 private Integer registryId; 40 private String entityName; 41 private String entityId; 42 private Integer referenceType; 43 private String referencingEntityName; 44 private String referencingEntityId; 45 private String referencingEntityCompletingName; 46 private String referencingEntityCompletingId; 47 48 51 52 public Integer getId() 53 { 54 return getRegistryId(); 55 } 56 57 public Integer getRegistryId() 58 { 59 return registryId; 60 } 61 62 public void setRegistryId(Integer registryId) 63 { 64 this.registryId = registryId; 65 } 66 67 public String getEntityId() 68 { 69 return entityId; 70 } 71 72 public void setEntityId(String entityId) 73 { 74 this.entityId = entityId; 75 } 76 77 public String getEntityName() 78 { 79 return entityName; 80 } 81 82 public void setEntityName(String entityName) 83 { 84 this.entityName = entityName; 85 } 86 87 public Integer getReferenceType() 88 { 89 return referenceType; 90 } 91 92 public void setReferenceType(Integer referenceType) 93 { 94 this.referenceType = referenceType; 95 } 96 97 public String getReferencingEntityId() 98 { 99 return referencingEntityId; 100 } 101 102 public void setReferencingEntityId(String referencingEntityId) 103 { 104 this.referencingEntityId = referencingEntityId; 105 } 106 107 public String getReferencingEntityName() 108 { 109 return referencingEntityName; 110 } 111 112 public void setReferencingEntityName(String referencingEntityName) 113 { 114 this.referencingEntityName = referencingEntityName; 115 } 116 117 public String getReferencingEntityCompletingId() 118 { 119 return referencingEntityCompletingId; 120 } 121 122 public void setReferencingEntityCompletingId(String referencingEntityCompletingId) 123 { 124 this.referencingEntityCompletingId = referencingEntityCompletingId; 125 } 126 127 public String getReferencingEntityCompletingName() 128 { 129 return referencingEntityCompletingName; 130 } 131 132 public void setReferencingEntityCompletingName(String referencingEntityCompletingName) 133 { 134 this.referencingEntityCompletingName = referencingEntityCompletingName; 135 } 136 137 public String toString() 138 { 139 return entityName; 140 } 141 142 145 public ConstraintExceptionBuffer validate() 146 { 147 ConstraintExceptionBuffer ceb = new ConstraintExceptionBuffer(); 148 149 return ceb; 150 } 151 152 } 153 154 | Popular Tags |