public abstract class AssetBase
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
c |
protected java.lang.Long |
cid |
protected java.lang.String |
description |
protected java.util.Date |
endDate |
protected java.lang.String |
filename |
protected Id |
id |
protected java.lang.String |
name |
protected java.lang.String |
path |
protected java.lang.String |
site |
protected java.util.Date |
startDate |
protected java.lang.String |
subtype |
protected java.lang.String |
template |
Modifier | Constructor and Description |
---|---|
protected |
AssetBase() |
|
AssetBase(java.lang.String type,
java.lang.String subtype,
java.lang.String name)
Create an asset with a given type, subtype and name.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
dump()
Print it
|
java.lang.String |
getC()
Return the c (type) of the asset
|
java.lang.Long |
getCid()
Return the cid of the asset
|
java.lang.String |
getDescription()
Return the description of the asset
|
java.util.Date |
getEndDate()
Return the end date of the asset
|
java.lang.String |
getFilename()
Return the filename of the asset
|
Id |
getId()
Return the id of the asset
|
java.lang.String |
getName()
Return the name of the asset
|
java.lang.String |
getPath()
Return the path of the asset
|
java.lang.String |
getSite()
Retun current site
|
java.util.Date |
getStartDate()
Return the start date of the asset
|
java.lang.String |
getSubtype()
Return the subtype of the asset
|
java.lang.String |
getTemplate()
Return the template of the asset
|
protected void |
init(java.lang.String site)
Complete initialization of the class
|
protected void |
setDescription(java.lang.String description) |
java.lang.String |
toString()
String representation of the asset
|
protected Id id
protected java.lang.Long cid
protected java.lang.String c
protected java.lang.String subtype
protected java.lang.String site
protected java.lang.String name
protected java.lang.String description
protected java.lang.String filename
protected java.lang.String path
protected java.lang.String template
protected java.util.Date startDate
protected java.util.Date endDate
public AssetBase(java.lang.String type, java.lang.String subtype, java.lang.String name)
type
- subtype
- name
- protected AssetBase()
protected void init(java.lang.String site)
site
- public java.lang.String getSite()
public Id getId()
public java.lang.String getC()
public java.lang.Long getCid()
public java.lang.String getTemplate()
public java.lang.String getSubtype()
public java.lang.String getName()
public java.lang.String getDescription()
protected void setDescription(java.lang.String description)
public java.lang.String getFilename()
public java.lang.String getPath()
public java.util.Date getStartDate()
public java.util.Date getEndDate()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String dump()