org.xlsx4j.sml.CTDefinedName 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.
The newest version!
/*
* 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 javax.xml.bind.Unmarshaller;
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.XmlTransient;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.XmlValue;
import org.jvnet.jaxb2_commons.ppp.Child;
/**
* Java class for CT_DefinedName complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="CT_DefinedName">
* <simpleContent>
* <extension base="<http://schemas.openxmlformats.org/spreadsheetml/2006/main>ST_Formula">
* <attribute name="name" use="required" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
* <attribute name="comment" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
* <attribute name="customMenu" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
* <attribute name="description" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
* <attribute name="help" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
* <attribute name="statusBar" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
* <attribute name="localSheetId" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
* <attribute name="hidden" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
* <attribute name="function" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
* <attribute name="vbProcedure" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
* <attribute name="xlm" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
* <attribute name="functionGroupId" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
* <attribute name="shortcutKey" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
* <attribute name="publishToServer" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
* <attribute name="workbookParameter" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
* </extension>
* </simpleContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CT_DefinedName", propOrder = {
"value"
})
public class CTDefinedName implements Child
{
@XmlValue
protected String value;
@XmlAttribute(name = "name", required = true)
protected String name;
@XmlAttribute(name = "comment")
protected String comment;
@XmlAttribute(name = "customMenu")
protected String customMenu;
@XmlAttribute(name = "description")
protected String description;
@XmlAttribute(name = "help")
protected String help;
@XmlAttribute(name = "statusBar")
protected String statusBar;
@XmlAttribute(name = "localSheetId")
@XmlSchemaType(name = "unsignedInt")
protected Long localSheetId;
@XmlAttribute(name = "hidden")
protected Boolean hidden;
@XmlAttribute(name = "function")
protected Boolean function;
@XmlAttribute(name = "vbProcedure")
protected Boolean vbProcedure;
@XmlAttribute(name = "xlm")
protected Boolean xlm;
@XmlAttribute(name = "functionGroupId")
@XmlSchemaType(name = "unsignedInt")
protected Long functionGroupId;
@XmlAttribute(name = "shortcutKey")
protected String shortcutKey;
@XmlAttribute(name = "publishToServer")
protected Boolean publishToServer;
@XmlAttribute(name = "workbookParameter")
protected Boolean workbookParameter;
@XmlTransient
private Object parent;
/**
* Gets the value of the value property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getValue() {
return value;
}
/**
* Sets the value of the value property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setValue(String value) {
this.value = value;
}
/**
* Gets the value of the name property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setName(String value) {
this.name = value;
}
/**
* Gets the value of the comment property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getComment() {
return comment;
}
/**
* Sets the value of the comment property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setComment(String value) {
this.comment = value;
}
/**
* Gets the value of the customMenu property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCustomMenu() {
return customMenu;
}
/**
* Sets the value of the customMenu property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCustomMenu(String value) {
this.customMenu = value;
}
/**
* Gets the value of the description property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDescription() {
return description;
}
/**
* Sets the value of the description property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDescription(String value) {
this.description = value;
}
/**
* Gets the value of the help property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getHelp() {
return help;
}
/**
* Sets the value of the help property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setHelp(String value) {
this.help = value;
}
/**
* Gets the value of the statusBar property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getStatusBar() {
return statusBar;
}
/**
* Sets the value of the statusBar property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setStatusBar(String value) {
this.statusBar = value;
}
/**
* Gets the value of the localSheetId property.
*
* @return
* possible object is
* {@link Long }
*
*/
public Long getLocalSheetId() {
return localSheetId;
}
/**
* Sets the value of the localSheetId property.
*
* @param value
* allowed object is
* {@link Long }
*
*/
public void setLocalSheetId(Long value) {
this.localSheetId = value;
}
/**
* Gets the value of the hidden property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public boolean isHidden() {
if (hidden == null) {
return false;
} else {
return hidden;
}
}
/**
* Sets the value of the hidden property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setHidden(Boolean value) {
this.hidden = value;
}
/**
* Gets the value of the function property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public boolean isFunction() {
if (function == null) {
return false;
} else {
return function;
}
}
/**
* Sets the value of the function property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setFunction(Boolean value) {
this.function = value;
}
/**
* Gets the value of the vbProcedure property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public boolean isVbProcedure() {
if (vbProcedure == null) {
return false;
} else {
return vbProcedure;
}
}
/**
* Sets the value of the vbProcedure property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setVbProcedure(Boolean value) {
this.vbProcedure = value;
}
/**
* Gets the value of the xlm property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public boolean isXlm() {
if (xlm == null) {
return false;
} else {
return xlm;
}
}
/**
* Sets the value of the xlm property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setXlm(Boolean value) {
this.xlm = value;
}
/**
* Gets the value of the functionGroupId property.
*
* @return
* possible object is
* {@link Long }
*
*/
public Long getFunctionGroupId() {
return functionGroupId;
}
/**
* Sets the value of the functionGroupId property.
*
* @param value
* allowed object is
* {@link Long }
*
*/
public void setFunctionGroupId(Long value) {
this.functionGroupId = value;
}
/**
* Gets the value of the shortcutKey property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getShortcutKey() {
return shortcutKey;
}
/**
* Sets the value of the shortcutKey property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setShortcutKey(String value) {
this.shortcutKey = value;
}
/**
* Gets the value of the publishToServer property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public boolean isPublishToServer() {
if (publishToServer == null) {
return false;
} else {
return publishToServer;
}
}
/**
* Sets the value of the publishToServer property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setPublishToServer(Boolean value) {
this.publishToServer = value;
}
/**
* Gets the value of the workbookParameter property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public boolean isWorkbookParameter() {
if (workbookParameter == null) {
return false;
} else {
return workbookParameter;
}
}
/**
* Sets the value of the workbookParameter property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setWorkbookParameter(Boolean value) {
this.workbookParameter = value;
}
/**
* Gets the parent object in the object tree representing the unmarshalled xml document.
*
* @return
* The parent object.
*/
public Object getParent() {
return this.parent;
}
public void setParent(Object parent) {
this.parent = parent;
}
/**
* This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
*
* @param parent
* The parent object in the object tree.
* @param unmarshaller
* The unmarshaller that generated the instance.
*/
public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
setParent(parent);
}
}