Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  /*
   *  Copyright 2010-2013, Plutext Pty Ltd.
   *   
   *  This file is part of xlsx4j, a component of docx4j.
  
      docx4j is licensed under the Apache License, Version 2.0 (the "License"); 
      you may not use this file except in compliance with the License. 
  
      You may obtain a copy of the License at 
 
         http://www.apache.org/licenses/LICENSE-2.0 
 
     Unless required by applicable law or agreed to in writing, software 
     distributed under the License is distributed on an "AS IS" BASIS, 
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
     See the License for the specific language governing permissions and 
     limitations under the License.
 
  */
 package org.xlsx4j.sml;
 
 import java.util.List;

Java class for CT_RevisionRowColumn complex type.

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

 <complexType name="CT_RevisionRowColumn">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <choice maxOccurs="unbounded" minOccurs="0">
         <element name="undo" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_UndoInfo" maxOccurs="unbounded" minOccurs="0"/>
         <element name="rcc" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_RevisionCellChange" maxOccurs="unbounded" minOccurs="0"/>
         <element name="rfmt" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_RevisionFormatting" maxOccurs="unbounded" minOccurs="0"/>
       </choice>
       <attGroup ref="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}AG_RevData"/>
       <attribute name="sId" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
       <attribute name="eol" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="ref" use="required" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_Ref" />
       <attribute name="action" use="required" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_rwColActionType" />
       <attribute name="edge" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
     </restriction>
   </complexContent>
 </complexType>
 
 
 @XmlType(name = "CT_RevisionRowColumn", propOrder = {
     "undoOrRccOrRfmt"
 })
 public class CTRevisionRowColumn implements Child
 {
 
     @XmlElements({
         @XmlElement(name = "undo", type = CTUndoInfo.class),
         @XmlElement(name = "rcc", type = CTRevisionCellChange.class),
         @XmlElement(name = "rfmt", type = CTRevisionFormatting.class)
     })
     protected List<ObjectundoOrRccOrRfmt;
     @XmlAttribute(name = "sId", required = true)
     @XmlSchemaType(name = "unsignedInt")
     protected long sId;
     @XmlAttribute(name = "eol")
     protected Boolean eol;
     @XmlAttribute(name = "ref", required = true)
     protected String ref;
     @XmlAttribute(name = "action", required = true)
     protected STRwColActionType action;
     @XmlAttribute(name = "edge")
     protected Boolean edge;
     @XmlAttribute(name = "rId", required = true)
     @XmlSchemaType(name = "unsignedInt")
     protected long rId;
     @XmlAttribute(name = "ua")
     protected Boolean ua;
     @XmlAttribute(name = "ra")
     protected Boolean ra;
     @XmlTransient
     private Object parent;

    
Gets the value of the undoOrRccOrRfmt 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 undoOrRccOrRfmt property.

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

    getUndoOrRccOrRfmt().add(newItem);
 

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

    public List<ObjectgetUndoOrRccOrRfmt() {
        if ( == null) {
             = new ArrayList<Object>();
        }
        return this.;
    }

    
Gets the value of the sId property.
    public long getSId() {
        return ;
    }

    
Sets the value of the sId property.
    public void setSId(long value) {
        this. = value;
    }

    
Gets the value of the eol property.

Returns:
possible object is
    public boolean isEol() {
        if ( == null) {
            return false;
        } else {
            return ;
        }
    }

    
Sets the value of the eol property.

Parameters:
value allowed object is
    public void setEol(Boolean value) {
        this. = value;
    }

    
Gets the value of the ref property.

Returns:
possible object is
    public String getRef() {
        return ;
    }

    
Sets the value of the ref property.

Parameters:
value allowed object is
    public void setRef(String value) {
        this. = value;
    }

    
Gets the value of the action property.

Returns:
possible object is
    public STRwColActionType getAction() {
        return ;
    }

    
Sets the value of the action property.

Parameters:
value allowed object is
    public void setAction(STRwColActionType value) {
        this. = value;
    }

    
Gets the value of the edge property.

Returns:
possible object is
    public boolean isEdge() {
        if ( == null) {
            return false;
        } else {
            return ;
        }
    }

    
Sets the value of the edge property.

Parameters:
value allowed object is
    public void setEdge(Boolean value) {
        this. = value;
    }

    
Gets the value of the rId property.
    public long getRId() {
        return ;
    }

    
Sets the value of the rId property.
    public void setRId(long value) {
        this. = value;
    }

    
Gets the value of the ua property.

Returns:
possible object is
    public boolean isUa() {
        if ( == null) {
            return false;
        } else {
            return ;
        }
    }

    
Sets the value of the ua property.

Parameters:
value allowed object is
    public void setUa(Boolean value) {
        this. = value;
    }

    
Gets the value of the ra property.

Returns:
possible object is
    public boolean isRa() {
        if ( == null) {
            return false;
        } else {
            return ;
        }
    }

    
Sets the value of the ra property.

Parameters:
value allowed object is
    public void setRa(Boolean value) {
        this. = value;
    }

    
Gets the parent object in the object tree representing the unmarshalled xml document.

Returns:
The parent object.
    public Object getParent() {
        return this.;
    }
    public void setParent(Object parent) {
        this. = parent;
    }

    
This method is invoked by the JAXB implementation on each instance when unmarshalling completes.

Parameters:
parent The parent object in the object tree.
unmarshaller The unmarshaller that generated the instance.
    public void afterUnmarshal(Unmarshaller unmarshallerObject parent) {
        setParent(parent);
    }
New to GrepCode? Check out our FAQ X