![JAR search and dependency download from the Maven repository](/logo.png)
org.jvnet.hyperjaxb3.hibernate.mapping.Timestamp Maven / Gradle / Ivy
The newest version!
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.2-b01-fcs
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2007.01.30 at 01:23:09 PM CET
//
package org.jvnet.hyperjaxb3.hibernate.mapping;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.NormalizedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"meta"
})
@XmlRootElement(name = "timestamp")
public class Timestamp {
@XmlAttribute(required = true)
@XmlJavaTypeAdapter(NormalizedStringAdapter.class)
protected String name;
@XmlAttribute
@XmlJavaTypeAdapter(NormalizedStringAdapter.class)
protected String node;
@XmlAttribute
@XmlJavaTypeAdapter(NormalizedStringAdapter.class)
protected String column;
@XmlAttribute
@XmlJavaTypeAdapter(NormalizedStringAdapter.class)
protected String access;
@XmlAttribute(name = "unsaved-value")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String unsavedValue;
@XmlAttribute
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String source;
@XmlAttribute
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String generated;
protected List meta;
/**
* 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 node property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getNode() {
return node;
}
/**
* Sets the value of the node property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setNode(String value) {
this.node = value;
}
/**
* Gets the value of the column property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getColumn() {
return column;
}
/**
* Sets the value of the column property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setColumn(String value) {
this.column = value;
}
/**
* Gets the value of the access property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAccess() {
return access;
}
/**
* Sets the value of the access property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAccess(String value) {
this.access = value;
}
/**
* Gets the value of the unsavedValue property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getUnsavedValue() {
if (unsavedValue == null) {
return "null";
} else {
return unsavedValue;
}
}
/**
* Sets the value of the unsavedValue property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setUnsavedValue(String value) {
this.unsavedValue = value;
}
/**
* Gets the value of the source property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSource() {
if (source == null) {
return "vm";
} else {
return source;
}
}
/**
* Sets the value of the source property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSource(String value) {
this.source = value;
}
/**
* Gets the value of the generated property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getGenerated() {
if (generated == null) {
return "never";
} else {
return generated;
}
}
/**
* Sets the value of the generated property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setGenerated(String value) {
this.generated = value;
}
/**
* Gets the value of the meta 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 meta property.
*
*
* For example, to add a new item, do as follows:
*
* getMeta().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Meta }
*
*
*/
public List getMeta() {
if (meta == null) {
meta = new ArrayList();
}
return this.meta;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy