1 package com.dotmarketing.portlets.entities.model; 2 3 import java.io.Serializable ; 4 5 import com.dotmarketing.beans.Inode; 6 7 8 public class Entity extends Inode implements Serializable { 9 10 private static final long serialVersionUID = 1L; 11 12 private String [] categories; 13 14 15 private String entityName; 16 17 18 public Entity() { 19 super.setType("entity"); 20 } 21 22 23 public Entity(java.lang.String entityName) { 24 this.entityName = entityName; 25 } 26 27 public long getInode() { 28 return this.inode; 29 } 30 31 public void setInode(long inode) { 32 this.inode = inode; 33 } 34 35 39 public String getEntityName() { 40 return entityName; 41 } 42 43 47 public void setEntityName(String entityName) { 48 this.entityName = entityName; 49 } 50 51 55 public String [] getCategories() { 56 return categories; 57 } 58 59 63 public void setCategories(String [] categories) { 64 this.categories = categories; 65 } 66 67 } 68 | Popular Tags |