|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--fipaos.ont.fipa.fipaman.PropertyTemplate
The property template is to be used for specifying attribute/value pairs
Constructor Summary | |
PropertyTemplate()
This is an empty constructor. |
|
PropertyTemplate(java.lang.String property_template)
This constructor creates a PropertyTemplate object with the specified string |
|
PropertyTemplate(java.lang.String name,
java.lang.String term)
This constructor creates a template with the specified name and term. |
Method Summary | |
java.lang.String |
getName()
Get the name of the object |
java.lang.String |
getTerm()
Get the object |
static void |
main(java.lang.String[] args)
This is for testing purposes. |
void |
setName(java.lang.String name)
set the name of the object |
void |
setTerm(java.lang.String term)
Set the object |
java.lang.String |
toString()
This method returns the String representation of the template. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public PropertyTemplate(java.lang.String property_template) throws ParserException
property_template
- string representation of the property_templateParserException
- if the string is invalidpublic PropertyTemplate(java.lang.String name, java.lang.String term)
name
- name of the propertyterm
- the value of the propertypublic PropertyTemplate()
Method Detail |
public void setName(java.lang.String name)
name
- the name of the objectpublic void setTerm(java.lang.String term)
term
- the objectpublic java.lang.String getName()
public java.lang.String getTerm()
public java.lang.String toString()
toString
in class java.lang.Object
public static void main(java.lang.String[] args)
args
- arguments
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |