|
From: <jbo...@li...> - 2006-06-09 16:27:40
|
Author: adamw Date: 2006-06-09 12:27:37 -0400 (Fri, 09 Jun 2006) New Revision: 4695 Added: labs/shotoku/trunk/shotoku-tags/src/java/org/jboss/shotoku/tags/tools/FeedType.java Modified: labs/shotoku/trunk/shotoku-tags/src/java/org/jboss/shotoku/tags/dal/TagEntity.java Log: http://jira.jboss.com/jira/browse/JBSHOTOKU-86 Modified: labs/shotoku/trunk/shotoku-tags/src/java/org/jboss/shotoku/tags/dal/TagEntity.java =================================================================== --- labs/shotoku/trunk/shotoku-tags/src/java/org/jboss/shotoku/tags/dal/TagEntity.java 2006-06-09 16:19:30 UTC (rev 4694) +++ labs/shotoku/trunk/shotoku-tags/src/java/org/jboss/shotoku/tags/dal/TagEntity.java 2006-06-09 16:27:37 UTC (rev 4695) @@ -13,7 +13,6 @@ * @author Adam Warski (ad...@as...) */ @Entity -@Inheritance(strategy = InheritanceType.SINGLE_TABLE) @Table(name = "ShotokuTags") @IdClass(IdEntity.class) public class TagEntity implements Serializable { Added: labs/shotoku/trunk/shotoku-tags/src/java/org/jboss/shotoku/tags/tools/FeedType.java =================================================================== --- labs/shotoku/trunk/shotoku-tags/src/java/org/jboss/shotoku/tags/tools/FeedType.java 2006-06-09 16:19:30 UTC (rev 4694) +++ labs/shotoku/trunk/shotoku-tags/src/java/org/jboss/shotoku/tags/tools/FeedType.java 2006-06-09 16:27:37 UTC (rev 4695) @@ -0,0 +1,20 @@ +package org.jboss.shotoku.tags.tools; + +/** + * @author Adam Warski (ad...@as...) + */ +public enum FeedType { + RESOURCE("resource"), + AUTHOR("author"), + TAGS("tags"); + + private String strRep; + + FeedType(String strRep) { + this.strRep = strRep; + } + + public String toString() { + return strRep; + } +} |