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;
 

Java class for CT_MetadataType complex type.

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

 <complexType name="CT_MetadataType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <attribute name="name" use="required" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
       <attribute name="minSupportedVersion" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
       <attribute name="ghostRow" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="ghostCol" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="edit" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="delete" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="copy" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="pasteAll" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="pasteFormulas" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="pasteValues" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="pasteFormats" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="pasteComments" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="pasteDataValidation" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="pasteBorders" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="pasteColWidths" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="pasteNumberFormats" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="merge" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="splitFirst" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="splitAll" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="rowColShift" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="clearAll" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="clearFormats" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="clearContents" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="clearComments" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="assign" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="coerce" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="adjust" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="cellMeta" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
     </restriction>
   </complexContent>
 </complexType>
 
 
 @XmlType(name = "CT_MetadataType")
 public class CTMetadataType implements Child
 {
 
     @XmlAttribute(name = "name", required = true)
     protected String name;
     @XmlAttribute(name = "minSupportedVersion", required = true)
     @XmlSchemaType(name = "unsignedInt")
     protected long minSupportedVersion;
     @XmlAttribute(name = "ghostRow")
     protected Boolean ghostRow;
     @XmlAttribute(name = "ghostCol")
     protected Boolean ghostCol;
     @XmlAttribute(name = "edit")
     protected Boolean edit;
     @XmlAttribute(name = "delete")
     protected Boolean delete;
     @XmlAttribute(name = "copy")
     protected Boolean copy;
     @XmlAttribute(name = "pasteAll")
     protected Boolean pasteAll;
     @XmlAttribute(name = "pasteFormulas")
     protected Boolean pasteFormulas;
    @XmlAttribute(name = "pasteValues")
    protected Boolean pasteValues;
    @XmlAttribute(name = "pasteFormats")
    protected Boolean pasteFormats;
    @XmlAttribute(name = "pasteComments")
    protected Boolean pasteComments;
    @XmlAttribute(name = "pasteDataValidation")
    protected Boolean pasteDataValidation;
    @XmlAttribute(name = "pasteBorders")
    protected Boolean pasteBorders;
    @XmlAttribute(name = "pasteColWidths")
    protected Boolean pasteColWidths;
    @XmlAttribute(name = "pasteNumberFormats")
    protected Boolean pasteNumberFormats;
    @XmlAttribute(name = "merge")
    protected Boolean merge;
    @XmlAttribute(name = "splitFirst")
    protected Boolean splitFirst;
    @XmlAttribute(name = "splitAll")
    protected Boolean splitAll;
    @XmlAttribute(name = "rowColShift")
    protected Boolean rowColShift;
    @XmlAttribute(name = "clearAll")
    protected Boolean clearAll;
    @XmlAttribute(name = "clearFormats")
    protected Boolean clearFormats;
    @XmlAttribute(name = "clearContents")
    protected Boolean clearContents;
    @XmlAttribute(name = "clearComments")
    protected Boolean clearComments;
    @XmlAttribute(name = "assign")
    protected Boolean assign;
    @XmlAttribute(name = "coerce")
    protected Boolean coerce;
    @XmlAttribute(name = "adjust")
    protected Boolean adjust;
    @XmlAttribute(name = "cellMeta")
    protected Boolean cellMeta;
    private Object parent;

    
Gets the value of the name property.

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

    
Sets the value of the name property.

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

    
Gets the value of the minSupportedVersion property.
    public long getMinSupportedVersion() {
        return ;
    }

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

    
Gets the value of the ghostRow property.

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

    
Sets the value of the ghostRow property.

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

    
Gets the value of the ghostCol property.

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

    
Sets the value of the ghostCol property.

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

    
Gets the value of the edit property.

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

    
Sets the value of the edit property.

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

    
Gets the value of the delete property.

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

    
Sets the value of the delete property.

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

    
Gets the value of the copy property.

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

    
Sets the value of the copy property.

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

    
Gets the value of the pasteAll property.

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

    
Sets the value of the pasteAll property.

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

    
Gets the value of the pasteFormulas property.

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

    
Sets the value of the pasteFormulas property.

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

    
Gets the value of the pasteValues property.

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

    
Sets the value of the pasteValues property.

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

    
Gets the value of the pasteFormats property.

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

    
Sets the value of the pasteFormats property.

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

    
Gets the value of the pasteComments property.

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

    
Sets the value of the pasteComments property.

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

    
Gets the value of the pasteDataValidation property.

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

    
Sets the value of the pasteDataValidation property.

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

    
Gets the value of the pasteBorders property.

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

    
Sets the value of the pasteBorders property.

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

    
Gets the value of the pasteColWidths property.

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

    
Sets the value of the pasteColWidths property.

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

    
Gets the value of the pasteNumberFormats property.

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

    
Sets the value of the pasteNumberFormats property.

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

    
Gets the value of the merge property.

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

    
Sets the value of the merge property.

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

    
Gets the value of the splitFirst property.

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

    
Sets the value of the splitFirst property.

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

    
Gets the value of the splitAll property.

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

    
Sets the value of the splitAll property.

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

    
Gets the value of the rowColShift property.

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

    
Sets the value of the rowColShift property.

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

    
Gets the value of the clearAll property.

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

    
Sets the value of the clearAll property.

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

    
Gets the value of the clearFormats property.

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

    
Sets the value of the clearFormats property.

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

    
Gets the value of the clearContents property.

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

    
Sets the value of the clearContents property.

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

    
Gets the value of the clearComments property.

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

    
Sets the value of the clearComments property.

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

    
Gets the value of the assign property.

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

    
Sets the value of the assign property.

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

    
Gets the value of the coerce property.

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

    
Sets the value of the coerce property.

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

    
Gets the value of the adjust property.

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

    
Sets the value of the adjust property.

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

    
Gets the value of the cellMeta property.

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

    
Sets the value of the cellMeta property.

Parameters:
value allowed object is
    public void setCellMeta(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