31 lines
653 B
Java
31 lines
653 B
Java
/**
|
|
*
|
|
*/
|
|
package org.gcube.informationsystem.impl.entity;
|
|
|
|
import org.gcube.informationsystem.model.annotations.ISEntity;
|
|
import org.gcube.informationsystem.model.annotations.ISRootEntity;
|
|
import org.gcube.informationsystem.model.entity.Entity;
|
|
import org.gcube.informationsystem.model.entity.Header;
|
|
|
|
/**
|
|
* @author Luca Frosini (ISTI - CNR) http://www.lucafrosini.com/
|
|
*
|
|
*/
|
|
@ISRootEntity
|
|
@ISEntity(name="Entity", abstractType=true)
|
|
public abstract class EntityImpl implements Entity {
|
|
|
|
protected Header header;
|
|
|
|
protected EntityImpl(){
|
|
this.header = new HeaderImpl();
|
|
}
|
|
|
|
@Override
|
|
public Header getHeader() {
|
|
return this.header;
|
|
}
|
|
|
|
}
|