AbstractContent.java :  » MVC » simpleframework » net » simpleframework » content » component » Java Open Source

Java Open Source » MVC » simpleframework 
simpleframework » net » simpleframework » content » component » AbstractContent.java
package net.simpleframework.content.component;

import net.simpleframework.content.EContentType;

/**
 * LGPLv3
 * 
 * @author (cknet@126.com, 13910090885)
 *         http://code.google.com/p/simpleframework/
 *         http://www.simpleframework.net
 */
@SuppressWarnings("serial")
public abstract class AbstractContent extends AbstractContentBase {

  private short mark;

  private EContentType ttype;

  private boolean ttop;

  public short getMark() {
    return mark;
  }

  public void setMark(final short mark) {
    this.mark = mark;
  }

  public EContentType getTtype() {
    return ttype == null ? EContentType.normal : ttype;
  }

  public void setTtype(final EContentType ttype) {
    this.ttype = ttype;
  }

  public boolean isTtop() {
    return ttop;
  }

  public void setTtop(final boolean ttop) {
    this.ttop = ttop;
  }
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.