org.jomc.model.test
Class ModulesConstraintsTest

Package class diagram package ModulesConstraintsTest
java.lang.Object
  extended by org.jomc.model.test.ModulesConstraintsTest
All Implemented Interfaces:
Cloneable

@Generated(value="com.sun.tools.xjc.Driver",
           date="2009-10-02T06:12:00+00:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public class ModulesConstraintsTest
extends Object
implements Cloneable

Performs modules validation.


Field Summary
protected  List<ModelExceptionDetail> detail
           
protected  String identifier
           
protected  AnyModelObject modules
           
 
Constructor Summary
ModulesConstraintsTest()
          Creates a new ModulesConstraintsTest instance.
ModulesConstraintsTest(ModulesConstraintsTest o)
          Creates a new ModulesConstraintsTest instance by deeply copying a given instance.
 
Method Summary
 ModulesConstraintsTest clone()
          Creates and returns a deep copy of this object.
private static void copyDetail(List<ModelExceptionDetail> source, List<ModelExceptionDetail> target)
          Copies all values of property Detail deeply.
 List<ModelExceptionDetail> getDetail()
          Gets the value of the detail property.
 String getIdentifier()
          Identifier of this test.
 AnyModelObject getModules()
          Gets the value of the modules property.
 void setIdentifier(String value)
          Sets the value of the identifier property.
 void setModules(AnyModelObject value)
          Sets the value of the modules property.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

modules

@Generated(value="com.sun.tools.xjc.Driver",
           date="2009-10-02T06:12:00+00:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
protected AnyModelObject modules

detail

@Generated(value="com.sun.tools.xjc.Driver",
           date="2009-10-02T06:12:00+00:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
protected List<ModelExceptionDetail> detail

identifier

@Generated(value="com.sun.tools.xjc.Driver",
           date="2009-10-02T06:12:00+00:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
protected String identifier
Constructor Detail

ModulesConstraintsTest

public ModulesConstraintsTest()
Creates a new ModulesConstraintsTest instance.


ModulesConstraintsTest

public ModulesConstraintsTest(ModulesConstraintsTest o)
Creates a new ModulesConstraintsTest instance by deeply copying a given instance.

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

getModules

@Generated(value="com.sun.tools.xjc.Driver",
           date="2009-10-02T06:12:00+00:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public AnyModelObject getModules()
Gets the value of the modules property.

Returns:
possible object is AnyModelObject

setModules

@Generated(value="com.sun.tools.xjc.Driver",
           date="2009-10-02T06:12:00+00:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public void setModules(AnyModelObject value)
Sets the value of the modules property.

Parameters:
value - allowed object is AnyModelObject

getDetail

@Generated(value="com.sun.tools.xjc.Driver",
           date="2009-10-02T06:12:00+00:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public List<ModelExceptionDetail> getDetail()
Gets the value of the detail property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the detail property.

For example, to add a new item, do as follows:

    getDetail().add(newItem);
 

Objects of the following type(s) are allowed in the list ModelExceptionDetail


getIdentifier

@Generated(value="com.sun.tools.xjc.Driver",
           date="2009-10-02T06:12:00+00:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public String getIdentifier()
Identifier of this test.

Returns:
possible object is String

setIdentifier

@Generated(value="com.sun.tools.xjc.Driver",
           date="2009-10-02T06:12:00+00:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public void setIdentifier(String value)
Sets the value of the identifier property.

Parameters:
value - allowed object is String

copyDetail

@Generated(value="com.sun.tools.xjc.Driver",
           date="2009-10-02T06:12:00+00:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
private static void copyDetail(List<ModelExceptionDetail> source,
                                                          List<ModelExceptionDetail> target)
Copies all values of property Detail deeply.

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

clone

@Generated(value="com.sun.tools.xjc.Driver",
           date="2009-10-02T06:12:00+00:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public ModulesConstraintsTest clone()
Creates and returns a deep copy of this object.

Overrides:
clone in class Object
Returns:
A deep copy of this object.


Copyright © 2005-2009 The JOMC Project. All Rights Reserved.