|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.kex.model.Example
public class Example
The mainmodel class of KEX. This model has all attributes for an KEX example.
Constructor Summary | |
---|---|
Example(String id,
String title,
String categoryId,
SourceType sourceTypeParam)
Creates a new example model. |
Method Summary | |
---|---|
void |
addResources(List<ExampleResource> exampleResources)
adds new example resources to example. |
boolean |
contains(String categoryIdParam)
Searches for a category. |
String |
getAuthor()
Getter for example author. |
String |
getCategoryId()
Getter for example categoryId. |
String |
getContact()
Getter for contact. |
String |
getDescription()
Getter for example description. |
Date |
getGenerationDate()
Getter for generationdate. |
String |
getId()
Getter for example id. |
String |
getNamespaceId()
Getter for example namespace id. |
String |
getOverviewPic()
Getter for example overview picture. |
List<ExampleResource> |
getResources()
Getter for example resources. |
String |
getRootDir()
Getter for root directory. |
SourceType |
getSourceType()
Getter for sourcetype. |
String |
getTitle()
Getter for example title. |
boolean |
isProject()
checks if the example resources contains a project. |
void |
setAuthor(String authorParam)
Setter for example author. |
void |
setContact(String contactParam)
Setter for example contact. |
void |
setDescription(String descriptionParam)
Setter for example description. |
void |
setNamespaceId(String namespaceIdParam)
Setter for example namespaceId. |
void |
setOverviewPic(String overviewPicParam)
Setter for example overviewPic. |
void |
setRootDir(String rootDirParam)
Setter for example root directory. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Example(String id, String title, String categoryId, SourceType sourceTypeParam)
id
- , String
title
- , String
categoryId
- , Category
sourceTypeParam
- , SourceType
Method Detail |
---|
public String toString()
toString
in class Object
public boolean contains(String categoryIdParam)
categoryIdParam
- , String
public Date getGenerationDate()
Date
public SourceType getSourceType()
SourceType
public void addResources(List<ExampleResource> exampleResources)
exampleResources
- List
of ExampleResource
spublic List<ExampleResource> getResources()
List
of ExampleResource
spublic void setDescription(String descriptionParam)
descriptionParam
- , String
public String getDescription()
String
public String getContact()
String
public void setContact(String contactParam)
contactParam
- , String
public void setNamespaceId(String namespaceIdParam)
namespaceIdParam
- , String
public String getNamespaceId()
String
public void setRootDir(String rootDirParam)
rootDirParam
- , String
public String getRootDir()
String
public void setAuthor(String authorParam)
authorParam
- , String
public String getAuthor()
String
public void setOverviewPic(String overviewPicParam)
overviewPicParam
- , String
public String getOverviewPic()
String
public boolean isProject()
public String getId()
String
public String getTitle()
String
public String getCategoryId()
String
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |