Jadex 0.96-beta1

jadex.adapter.fipa
Class ServiceDescriptionData

java.lang.Object
  extended by jadex.adapter.fipa.ServiceDescriptionData
All Implemented Interfaces:
BeanInfo, Serializable
Direct Known Subclasses:
ServiceDescription

public abstract class ServiceDescriptionData
extends Object
implements BeanInfo, Serializable

Java class for concept ServiceDescription of beanynizer_beans_fipa_default ontology.

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface java.beans.BeanInfo
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32
 
Constructor Summary
ServiceDescriptionData()
          Default Constructor.
 
Method Summary
 void addLanguage(String language)
          Add a language to this ServiceDescription.
 void addOntology(String ontology)
          Add a ontology to this ServiceDescription.
 void addProperty(Property property)
          Add a property to this ServiceDescription.
 void addProtocol(String protocol)
          Add a protocol to this ServiceDescription.
 BeanInfo[] getAdditionalBeanInfo()
          Get additional bean info.
 BeanDescriptor getBeanDescriptor()
          Get the bean descriptor.
 int getDefaultEventIndex()
          Get the default event index.
 int getDefaultPropertyIndex()
          Get the default property index.
 EventSetDescriptor[] getEventSetDescriptors()
          Get the event set descriptors.
 Image getIcon(int iconKind)
          Get the icon.
 String getLanguage(int idx)
          Get an languages of this ServiceDescription.
 String[] getLanguages()
          Get the languages of this ServiceDescription.
 MethodDescriptor[] getMethodDescriptors()
          Get the method descriptors.
 String getName()
          Get the name of this ServiceDescription.
 String[] getOntologies()
          Get the ontologies of this ServiceDescription.
 String getOntology(int idx)
          Get an ontologies of this ServiceDescription.
 String getOwnership()
          Get the ownership of this ServiceDescription.
 Property[] getProperties()
          Get the properties of this ServiceDescription.
 Property getProperty(int idx)
          Get an properties of this ServiceDescription.
 PropertyDescriptor[] getPropertyDescriptors()
          Get the property descriptors.
 String getProtocol(int idx)
          Get an protocols of this ServiceDescription.
 String[] getProtocols()
          Get the protocols of this ServiceDescription.
 String getType()
          Get the type of this ServiceDescription.
 Image loadImage(String resourceName)
          Load the image.
 boolean removeLanguage(String language)
          Remove a language from this ServiceDescription.
 boolean removeOntology(String ontology)
          Remove a ontology from this ServiceDescription.
 boolean removeProperty(Property property)
          Remove a property from this ServiceDescription.
 boolean removeProtocol(String protocol)
          Remove a protocol from this ServiceDescription.
 void setLanguage(int idx, String language)
          Set a language to this ServiceDescription.
 void setLanguages(String[] languages)
          Set the languages of this ServiceDescription.
 void setName(String name)
          Set the name of this ServiceDescription.
 void setOntologies(String[] ontologies)
          Set the ontologies of this ServiceDescription.
 void setOntology(int idx, String ontology)
          Set a ontology to this ServiceDescription.
 void setOwnership(String ownership)
          Set the ownership of this ServiceDescription.
 void setProperties(Property[] properties)
          Set the properties of this ServiceDescription.
 void setProperty(int idx, Property property)
          Set a property to this ServiceDescription.
 void setProtocol(int idx, String protocol)
          Set a protocol to this ServiceDescription.
 void setProtocols(String[] protocols)
          Set the protocols of this ServiceDescription.
 void setType(String type)
          Set the type of this ServiceDescription.
 String toString()
          Get a string representation of this ServiceDescription.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServiceDescriptionData

public ServiceDescriptionData()
Default Constructor.
Create a new ServiceDescription.

Method Detail

getOwnership

public String getOwnership()
Get the ownership of this ServiceDescription.

Returns:
ownership

setOwnership

public void setOwnership(String ownership)
Set the ownership of this ServiceDescription.

Parameters:
ownership - the value to be set

getProtocols

public String[] getProtocols()
Get the protocols of this ServiceDescription.

Returns:
protocols

setProtocols

public void setProtocols(String[] protocols)
Set the protocols of this ServiceDescription.

Parameters:
protocols - the value to be set

getProtocol

public String getProtocol(int idx)
Get an protocols of this ServiceDescription.

Parameters:
idx - The index.
Returns:
protocols

setProtocol

public void setProtocol(int idx,
                        String protocol)
Set a protocol to this ServiceDescription.

Parameters:
idx - The index.
protocol - a value to be added

addProtocol

public void addProtocol(String protocol)
Add a protocol to this ServiceDescription.

Parameters:
protocol - a value to be removed

removeProtocol

public boolean removeProtocol(String protocol)
Remove a protocol from this ServiceDescription.

Parameters:
protocol - a value to be removed
Returns:
True when the protocols have changed.

getOntologies

public String[] getOntologies()
Get the ontologies of this ServiceDescription.

Returns:
ontologies

setOntologies

public void setOntologies(String[] ontologies)
Set the ontologies of this ServiceDescription.

Parameters:
ontologies - the value to be set

getOntology

public String getOntology(int idx)
Get an ontologies of this ServiceDescription.

Parameters:
idx - The index.
Returns:
ontologies

setOntology

public void setOntology(int idx,
                        String ontology)
Set a ontology to this ServiceDescription.

Parameters:
idx - The index.
ontology - a value to be added

addOntology

public void addOntology(String ontology)
Add a ontology to this ServiceDescription.

Parameters:
ontology - a value to be removed

removeOntology

public boolean removeOntology(String ontology)
Remove a ontology from this ServiceDescription.

Parameters:
ontology - a value to be removed
Returns:
True when the ontologies have changed.

getName

public String getName()
Get the name of this ServiceDescription.

Returns:
name

setName

public void setName(String name)
Set the name of this ServiceDescription.

Parameters:
name - the value to be set

getLanguages

public String[] getLanguages()
Get the languages of this ServiceDescription.

Returns:
languages

setLanguages

public void setLanguages(String[] languages)
Set the languages of this ServiceDescription.

Parameters:
languages - the value to be set

getLanguage

public String getLanguage(int idx)
Get an languages of this ServiceDescription.

Parameters:
idx - The index.
Returns:
languages

setLanguage

public void setLanguage(int idx,
                        String language)
Set a language to this ServiceDescription.

Parameters:
idx - The index.
language - a value to be added

addLanguage

public void addLanguage(String language)
Add a language to this ServiceDescription.

Parameters:
language - a value to be removed

removeLanguage

public boolean removeLanguage(String language)
Remove a language from this ServiceDescription.

Parameters:
language - a value to be removed
Returns:
True when the languages have changed.

getType

public String getType()
Get the type of this ServiceDescription.

Returns:
type

setType

public void setType(String type)
Set the type of this ServiceDescription.

Parameters:
type - the value to be set

getProperties

public Property[] getProperties()
Get the properties of this ServiceDescription.

Returns:
properties

setProperties

public void setProperties(Property[] properties)
Set the properties of this ServiceDescription.

Parameters:
properties - the value to be set

getProperty

public Property getProperty(int idx)
Get an properties of this ServiceDescription.

Parameters:
idx - The index.
Returns:
properties

setProperty

public void setProperty(int idx,
                        Property property)
Set a property to this ServiceDescription.

Parameters:
idx - The index.
property - a value to be added

addProperty

public void addProperty(Property property)
Add a property to this ServiceDescription.

Parameters:
property - a value to be removed

removeProperty

public boolean removeProperty(Property property)
Remove a property from this ServiceDescription.

Parameters:
property - a value to be removed
Returns:
True when the properties have changed.

getBeanDescriptor

public BeanDescriptor getBeanDescriptor()
Get the bean descriptor.

Specified by:
getBeanDescriptor in interface BeanInfo
Returns:
The bean descriptor.

getPropertyDescriptors

public PropertyDescriptor[] getPropertyDescriptors()
Get the property descriptors.

Specified by:
getPropertyDescriptors in interface BeanInfo
Returns:
The property descriptors.

getDefaultPropertyIndex

public int getDefaultPropertyIndex()
Get the default property index.

Specified by:
getDefaultPropertyIndex in interface BeanInfo
Returns:
The property index.

getEventSetDescriptors

public EventSetDescriptor[] getEventSetDescriptors()
Get the event set descriptors.

Specified by:
getEventSetDescriptors in interface BeanInfo
Returns:
The event set descriptors.

getDefaultEventIndex

public int getDefaultEventIndex()
Get the default event index.

Specified by:
getDefaultEventIndex in interface BeanInfo
Returns:
The default event index.

getMethodDescriptors

public MethodDescriptor[] getMethodDescriptors()
Get the method descriptors.

Specified by:
getMethodDescriptors in interface BeanInfo
Returns:
The method descriptors.

getAdditionalBeanInfo

public BeanInfo[] getAdditionalBeanInfo()
Get additional bean info.

Specified by:
getAdditionalBeanInfo in interface BeanInfo
Returns:
Get additional bean info.

getIcon

public Image getIcon(int iconKind)
Get the icon.

Specified by:
getIcon in interface BeanInfo
Returns:
The icon.

loadImage

public Image loadImage(String resourceName)
Load the image.

Returns:
The image.

toString

public String toString()
Get a string representation of this ServiceDescription.

Overrides:
toString in class Object
Returns:
The string representation.

Jadex 0.96-beta1

Submit a bug or feature
For further API reference and developer documentation, see the Jadex User Guide and the Jadex Tutorial. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, and working code examples.

Copyright (C) 2002-2007 Lars Braubach, Alexander Pokahr - University of Hamburg. Use is subject to license terms.