fr.cnes.sitools.dictionary.model
Class ConceptTemplate

java.lang.Object
  extended by fr.cnes.sitools.dictionary.model.ConceptTemplate
All Implemented Interfaces:
IResource, java.io.Serializable
Direct Known Subclasses:
Concept

public class ConceptTemplate
extends java.lang.Object
implements IResource, java.io.Serializable

Template of an entry / concept in a dictionary

Author:
jp.boignard (AKKA Technologies)
See Also:
Serialized Form

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

ConceptTemplate

public ConceptTemplate()
Default constructor

Method Detail

getId

public java.lang.String getId()
Description copied from interface: IResource
Resource identifier

Specified by:
getId in interface IResource
Returns:
String

setId

public void setId(java.lang.String id)
Description copied from interface: IResource
Resource identifier setting

Specified by:
setId in interface IResource
Parameters:
id - the identifier to set

getName

public java.lang.String getName()
Description copied from interface: IResource
Resource name

Specified by:
getName in interface IResource
Returns:
String

setName

public void setName(java.lang.String name)
Set the name of the concept template

Parameters:
name - the name to set

getDescription

public java.lang.String getDescription()
Description copied from interface: IResource
Resource description

Specified by:
getDescription in interface IResource
Returns:
String

setDescription

public void setDescription(java.lang.String description)
Set the description of the concept

Parameters:
description - the description to set

getProperties

public java.util.List<Property> getProperties()
Get the properties of the concept

Returns:
the properties

setProperties

public void setProperties(java.util.List<Property> properties)
Set the properties of the concept

Parameters:
properties - the properties to set

getType

public java.lang.String getType()
Get the type of concept

Returns:
the type

setType

public void setType(java.lang.String type)
Set the type of the concept

Parameters:
type - the concept type

getUrl

public java.lang.String getUrl()
Get the url of the concept

Returns:
the url of the concept

setUrl

public void setUrl(java.lang.String url)
Set the url of the concept

Parameters:
url - the url of the concept

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

getPropertyFromName

public Property getPropertyFromName(java.lang.String propertyName)
Return a property from its name

Parameters:
propertyName - the name of the property
Returns:
the property of the following propertyName


Copyright © 2010-2013 CNES. All Rights Reserved.