source: fedd/abac-src/rtml/src/edu/stanford/rt/datatype/StringValue.java @ 8780cbec

axis_examplecompt_changesinfo-opsversion-1.30version-2.00version-3.01version-3.02
Last change on this file since 8780cbec was 8780cbec, checked in by Jay Jacobs <Jay.Jacobs@…>, 15 years ago

ABAC sources from Cobham

  • Property mode set to 100644
File size: 680 bytes
Line 
1package edu.stanford.rt.datatype;
2
3/**
4 * @author Ninghui Li, Sandra Qiu<br>
5 *
6 * Implementation of <code>StringValue</code> element.
7 *  An StringValue object which holds a String value.
8 */
9public class StringValue implements DataValue
10{
11    private String value;
12   
13    /**
14     * Constructor for StringValue.
15     */
16    public StringValue(String v)
17    {
18        value = v;
19    }
20   
21        /**
22         * Method getValue.
23         * @return String
24         */
25    public String getValue()
26    {
27        return value;
28    }
29   
30        /* (non-Javadoc)
31         * @see java.lang.Object#toString()
32         */
33    public String toString()
34    {
35        return value;
36    }
37   
38}
Note: See TracBrowser for help on using the repository browser.