|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.cnes.sitools.dictionary.model.ConceptTemplate
public class ConceptTemplate
Template of an entry / concept in a dictionary
Constructor Summary | |
---|---|
ConceptTemplate()
Default constructor |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getDescription()
Resource description |
java.lang.String |
getId()
Resource identifier |
java.lang.String |
getName()
Resource name |
java.util.List<Property> |
getProperties()
Get the properties of the concept |
Property |
getPropertyFromName(java.lang.String propertyName)
Return a property from its name |
java.lang.String |
getType()
Get the type of concept |
java.lang.String |
getUrl()
Get the url of the concept |
int |
hashCode()
|
void |
setDescription(java.lang.String description)
Set the description of the concept |
void |
setId(java.lang.String id)
Resource identifier setting |
void |
setName(java.lang.String name)
Set the name of the concept template |
void |
setProperties(java.util.List<Property> properties)
Set the properties of the concept |
void |
setType(java.lang.String type)
Set the type of the concept |
void |
setUrl(java.lang.String url)
Set the url of the concept |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConceptTemplate()
Method Detail |
---|
public java.lang.String getId()
IResource
getId
in interface IResource
public void setId(java.lang.String id)
IResource
setId
in interface IResource
id
- the identifier to setpublic java.lang.String getName()
IResource
getName
in interface IResource
public void setName(java.lang.String name)
name
- the name to setpublic java.lang.String getDescription()
IResource
getDescription
in interface IResource
public void setDescription(java.lang.String description)
description
- the description to setpublic java.util.List<Property> getProperties()
public void setProperties(java.util.List<Property> properties)
properties
- the properties to setpublic java.lang.String getType()
public void setType(java.lang.String type)
type
- the concept typepublic java.lang.String getUrl()
public void setUrl(java.lang.String url)
url
- the url of the conceptpublic int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public Property getPropertyFromName(java.lang.String propertyName)
propertyName
- the name of the property
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |