org.xlsx4j.sml.CTItem Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of docx4j Show documentation
Show all versions of docx4j Show documentation
docx4j is a library which helps you to work with the Office Open
XML file format as used in docx
documents, pptx presentations, and xlsx spreadsheets.
/*
* Copyright 2010, Plutext Pty Ltd.
*
* This file is part 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 javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for CT_Item complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="CT_Item">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="n" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_Xstring" />
* <attribute name="t" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_ItemType" default="data" />
* <attribute name="h" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
* <attribute name="s" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
* <attribute name="sd" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
* <attribute name="f" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
* <attribute name="m" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
* <attribute name="c" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
* <attribute name="x" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
* <attribute name="d" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
* <attribute name="e" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CT_Item")
public class CTItem {
@XmlAttribute
protected String n;
@XmlAttribute
protected STItemType t;
@XmlAttribute
protected Boolean h;
@XmlAttribute
protected Boolean s;
@XmlAttribute
protected Boolean sd;
@XmlAttribute
protected Boolean f;
@XmlAttribute
protected Boolean m;
@XmlAttribute
protected Boolean c;
@XmlAttribute
@XmlSchemaType(name = "unsignedInt")
protected Long x;
@XmlAttribute
protected Boolean d;
@XmlAttribute
protected Boolean e;
/**
* Gets the value of the n property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getN() {
return n;
}
/**
* Sets the value of the n property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setN(String value) {
this.n = value;
}
/**
* Gets the value of the t property.
*
* @return
* possible object is
* {@link STItemType }
*
*/
public STItemType getT() {
if (t == null) {
return STItemType.DATA;
} else {
return t;
}
}
/**
* Sets the value of the t property.
*
* @param value
* allowed object is
* {@link STItemType }
*
*/
public void setT(STItemType value) {
this.t = value;
}
/**
* Gets the value of the h property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public boolean isH() {
if (h == null) {
return false;
} else {
return h;
}
}
/**
* Sets the value of the h property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setH(Boolean value) {
this.h = value;
}
/**
* Gets the value of the s property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public boolean isS() {
if (s == null) {
return false;
} else {
return s;
}
}
/**
* Sets the value of the s property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setS(Boolean value) {
this.s = value;
}
/**
* Gets the value of the sd property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public boolean isSd() {
if (sd == null) {
return true;
} else {
return sd;
}
}
/**
* Sets the value of the sd property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setSd(Boolean value) {
this.sd = value;
}
/**
* Gets the value of the f property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public boolean isF() {
if (f == null) {
return false;
} else {
return f;
}
}
/**
* Sets the value of the f property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setF(Boolean value) {
this.f = value;
}
/**
* Gets the value of the m property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public boolean isM() {
if (m == null) {
return false;
} else {
return m;
}
}
/**
* Sets the value of the m property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setM(Boolean value) {
this.m = value;
}
/**
* Gets the value of the c property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public boolean isC() {
if (c == null) {
return false;
} else {
return c;
}
}
/**
* Sets the value of the c property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setC(Boolean value) {
this.c = value;
}
/**
* Gets the value of the x property.
*
* @return
* possible object is
* {@link Long }
*
*/
public Long getX() {
return x;
}
/**
* Sets the value of the x property.
*
* @param value
* allowed object is
* {@link Long }
*
*/
public void setX(Long value) {
this.x = value;
}
/**
* Gets the value of the d property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public boolean isD() {
if (d == null) {
return false;
} else {
return d;
}
}
/**
* Sets the value of the d property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setD(Boolean value) {
this.d = value;
}
/**
* Gets the value of the e property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public boolean isE() {
if (e == null) {
return true;
} else {
return e;
}
}
/**
* Sets the value of the e property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setE(Boolean value) {
this.e = value;
}
}