-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
few more test cases and some work on to string... still not working.
- Loading branch information
slibhin
committed
Aug 23, 2010
1 parent
d27a358
commit 1991b80
Showing
11 changed files
with
596 additions
and
376 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
...ic_properties_plugin/src/main/ie/ucd/semanticproperties/plugin/customobjects/Keyword.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
package ie.ucd.semanticproperties.plugin.customobjects; | ||
|
||
public class Keyword { | ||
protected String keyword; | ||
protected String value; | ||
public Keyword() { | ||
keyword = ""; | ||
value = ""; | ||
} | ||
|
||
public Keyword(String key, String val) { | ||
keyword = key; | ||
value = val; | ||
} | ||
|
||
public String getKeyword() { | ||
return keyword; | ||
} | ||
|
||
public String getValue() { | ||
return value; | ||
} | ||
|
||
@Override | ||
public String toString() { | ||
return getKeyword()+"="+getValue(); | ||
} | ||
} |
Oops, something went wrong.