com.jaspersoft.jasperserver.api.metadata.common.service.impl.hibernate.persistent
Class RepoResourceBase
java.lang.Object
com.jaspersoft.jasperserver.api.metadata.common.service.impl.hibernate.persistent.RepoResourceBase
- All Implemented Interfaces:
- IdedObject
- Direct Known Subclasses:
- RepoFolder, RepoResource
public abstract class RepoResourceBase
- extends java.lang.Object
- implements IdedObject
- Version:
- $Id: RepoResourceBase.java 8430 2007-05-30 13:18:32Z lucian $
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
id
protected long id
version
protected int version
creationDate
protected java.util.Date creationDate
name
protected java.lang.String name
label
protected java.lang.String label
description
protected java.lang.String description
parent
protected RepoFolder parent
RepoResourceBase
protected RepoResourceBase()
getId
public long getId()
- Specified by:
getId
in interface IdedObject
- Returns:
setId
public void setId(long id)
- Specified by:
setId
in interface IdedObject
getVersion
public int getVersion()
setVersion
public void setVersion(int version)
getName
public java.lang.String getName()
setName
public void setName(java.lang.String name)
getLabel
public java.lang.String getLabel()
setLabel
public void setLabel(java.lang.String label)
getDescription
public java.lang.String getDescription()
setDescription
public void setDescription(java.lang.String description)
getParent
public RepoFolder getParent()
setParent
public void setParent(RepoFolder parent)
getClientItf
protected abstract java.lang.Class getClientItf()
toClient
public java.lang.Object toClient(ResourceFactory resourceFactory)
- Specified by:
toClient
in interface IdedObject
copyFromClient
public void copyFromClient(java.lang.Object objIdent,
PersistentObjectResolver resolver)
- Specified by:
copyFromClient
in interface IdedObject
copyFrom
protected void copyFrom(Resource clientRes)
copyTo
protected void copyTo(Resource clientRes)
getResourceURI
public java.lang.String getResourceURI()
isNew
public boolean isNew()
getCreationDate
public java.util.Date getCreationDate()
setCreationDate
public void setCreationDate(java.util.Date creationDate)
Copyright © 2007. All Rights Reserved.