org.jomc.model
Class SpecificationReference

Package class diagram package SpecificationReference
java.lang.Object
  extended by org.jomc.model.ModelObject
      extended by org.jomc.model.SpecificationReference
All Implemented Interfaces:
Cloneable
Direct Known Subclasses:
Dependency

@Generated(value="com.sun.tools.xjc.Driver",
           date="2009-12-07T03:06:36+00:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public class SpecificationReference
extends ModelObject
implements Cloneable

Reference to a specification.

Java class for SpecificationReference complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="SpecificationReference">
   <complexContent>
     <extension base="{http://jomc.org/model}ModelObject">
       <attribute name="identifier" use="required" type="{http://jomc.org/model}Identifier" />
       <attribute name="version" type="{http://jomc.org/model}Version" />
       <attribute name="final" type="{http://jomc.org/model}Flag" default="false" />
       <attribute name="override" type="{http://jomc.org/model}Flag" default="false" />
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  Boolean _final
           
protected  String identifier
           
protected  Boolean override
           
protected  String version
           
 
Fields inherited from class org.jomc.model.ModelObject
authors, createDate, deprecated, documentation, modelVersion
 
Constructor Summary
SpecificationReference()
          Creates a new SpecificationReference instance.
SpecificationReference(SpecificationReference o)
          Creates a new SpecificationReference instance by deeply copying a given SpecificationReference instance.
 
Method Summary
 SpecificationReference clone()
          Creates and returns a deep copy of this object.
 String getIdentifier()
          The identifier of the referenced specification.
 String getVersion()
          The version of the referenced specification or null.
 boolean isFinal()
          true if this specification reference is the final node in an inheritance hierarchy.
 boolean isOverride()
          true if this specification reference is intended to override a super specification reference.
 void setFinal(Boolean value)
          Sets the value of the final property.
 void setIdentifier(String value)
          Sets the value of the identifier property.
 void setOverride(Boolean value)
          Sets the value of the override property.
 void setVersion(String value)
          Sets the value of the version property.
 
Methods inherited from class org.jomc.model.ModelObject
getAuthors, getCreateDate, getDocumentation, getModelVersion, isDeprecated, setAuthors, setCreateDate, setDeprecated, setDocumentation, setModelVersion
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

identifier

@Generated(value="com.sun.tools.xjc.Driver",
           date="2009-12-07T03:06:36+00:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
protected String identifier

version

@Generated(value="com.sun.tools.xjc.Driver",
           date="2009-12-07T03:06:36+00:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
protected String version

_final

@Generated(value="com.sun.tools.xjc.Driver",
           date="2009-12-07T03:06:36+00:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
protected Boolean _final

override

@Generated(value="com.sun.tools.xjc.Driver",
           date="2009-12-07T03:06:36+00:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
protected Boolean override
Constructor Detail

SpecificationReference

public SpecificationReference()
Creates a new SpecificationReference instance.


SpecificationReference

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

Parameters:
o - The instance to copy.
Throws:
NullPointerException - if o is null.
Method Detail

getIdentifier

@Generated(value="com.sun.tools.xjc.Driver",
           date="2009-12-07T03:06:36+00:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public String getIdentifier()
The identifier of the referenced specification.

Returns:
possible object is String

setIdentifier

@Generated(value="com.sun.tools.xjc.Driver",
           date="2009-12-07T03:06:36+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

getVersion

@Generated(value="com.sun.tools.xjc.Driver",
           date="2009-12-07T03:06:36+00:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public String getVersion()
The version of the referenced specification or null.

Returns:
possible object is String

setVersion

@Generated(value="com.sun.tools.xjc.Driver",
           date="2009-12-07T03:06:36+00:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public void setVersion(String value)
Sets the value of the version property.

Parameters:
value - allowed object is String

isFinal

@Generated(value="com.sun.tools.xjc.Driver",
           date="2009-12-07T03:06:36+00:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public boolean isFinal()
true if this specification reference is the final node in an inheritance hierarchy.

Returns:
possible object is Boolean

setFinal

@Generated(value="com.sun.tools.xjc.Driver",
           date="2009-12-07T03:06:36+00:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public void setFinal(Boolean value)
Sets the value of the final property.

Parameters:
value - allowed object is Boolean

isOverride

@Generated(value="com.sun.tools.xjc.Driver",
           date="2009-12-07T03:06:36+00:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public boolean isOverride()
true if this specification reference is intended to override a super specification reference.

Returns:
possible object is Boolean

setOverride

@Generated(value="com.sun.tools.xjc.Driver",
           date="2009-12-07T03:06:36+00:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public void setOverride(Boolean value)
Sets the value of the override property.

Parameters:
value - allowed object is Boolean

clone

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

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


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