1 18 package org.apache.roller.webservices.atomprotocol; 19 20 import com.sun.syndication.feed.module.ModuleImpl; 21 22 public class PubControlModuleImpl extends ModuleImpl implements PubControlModule { 23 private boolean _draft = false; 24 25 public PubControlModuleImpl() { 26 super(PubControlModule.class,PubControlModule.URI); 27 } 28 public boolean getDraft() { 29 return _draft; 30 } 31 public void setDraft(boolean draft) { 32 _draft = draft; 33 } 34 public Class getInterface() { 35 return PubControlModule.class; 36 } 37 public void copyFrom(Object obj) { 38 PubControlModule m = (PubControlModule)obj; 39 setDraft(m.getDraft()); 40 } 41 } 42 | Popular Tags |