net.sourceforge.ccxjc.it.model.prot.indexed.novalueclass.spring.beans.impl
Class ValueImpl

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.prot.indexed.novalueclass.spring.beans.impl.ValueImpl
All Implemented Interfaces:
Serializable, Cloneable, Value

public class ValueImpl
extends Object
implements Serializable, Cloneable, Value

See Also:
Serialized Form

Field Summary
protected  String[] content
           
protected  String type
           
 
Constructor Summary
ValueImpl()
          Creates a new net.sourceforge.ccxjc.it.model.prot.indexed.novalueclass.spring.beans.impl.ValueImpl instance.
ValueImpl(ValueImpl o)
          Creates a new net.sourceforge.ccxjc.it.model.prot.indexed.novalueclass.spring.beans.impl.ValueImpl instance by copying a given instance.
 
Method Summary
 ValueImpl clone()
          Creates and returns a copy of this object.
protected  void copyContent(String[] source)
          Copies all values of property Content.
 String[] getContent()
           
 String getContent(int idx)
           
 int getContentLength()
           
 String getType()
          Gets the value of the type property.
 String setContent(int idx, String value)
           
 void setContent(String[] values)
           
 void setType(String value)
          Sets the value of the type property.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

content

protected String[] content

type

protected String type
Constructor Detail

ValueImpl

public ValueImpl()
Creates a new net.sourceforge.ccxjc.it.model.prot.indexed.novalueclass.spring.beans.impl.ValueImpl instance.


ValueImpl

public ValueImpl(ValueImpl o)
Creates a new net.sourceforge.ccxjc.it.model.prot.indexed.novalueclass.spring.beans.impl.ValueImpl instance by copying a given instance.

Parameters:
o - The instance to copy or null.
Method Detail

getContent

public String[] getContent()
Specified by:
getContent in interface Value
Returns:
array of String

getContent

public String getContent(int idx)
Specified by:
getContent in interface Value
Returns:
one of String

getContentLength

public int getContentLength()
Specified by:
getContentLength in interface Value

setContent

public void setContent(String[] values)
Specified by:
setContent in interface Value
Parameters:
values - allowed objects are String

setContent

public String setContent(int idx,
                         String value)
Specified by:
setContent in interface Value
value - allowed object is String

getType

public String getType()
Description copied from interface: Value
Gets the value of the type property.

Specified by:
getType in interface Value
Returns:
possible object is String

setType

public void setType(String value)
Description copied from interface: Value
Sets the value of the type property.

Specified by:
setType in interface Value
Parameters:
value - allowed object is String

copyContent

protected void copyContent(String[] source)
Copies all values of property Content.

Parameters:
source - The source to copy from.
Throws:
NullPointerException - if source is null.

clone

public ValueImpl clone()
Creates and returns a copy of this object.

Overrides:
clone in class Object
Returns:
A clone of this instance.


Copyright © 2009 The CC-XJC Community. All Rights Reserved.