public class XDimAttribute extends XField implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for x_dim_attribute complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="x_dim_attribute">
<complexContent>
<extension base="{uri:lens:cube:0.1}x_field">
<sequence>
<element name="ref_spec" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<choice>
<element name="table_references" type="{uri:lens:cube:0.1}x_table_references"/>
<element name="chain_ref_column" type="{uri:lens:cube:0.1}x_chain_column" maxOccurs="unbounded"/>
</choice>
</restriction>
</complexContent>
</complexType>
</element>
<element name="hierarchy" type="{uri:lens:cube:0.1}x_dim_attributes" minOccurs="0"/>
<element name="values" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="start_time" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
<attribute name="end_time" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
<attribute name="num_distinct_values" type="{http://www.w3.org/2001/XMLSchema}long" />
<attribute name="join_key" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
</extension>
</complexContent>
</complexType>
| Modifier and Type | Class and Description |
|---|---|
static class |
XDimAttribute.RefSpec
Java class for anonymous complex type.
|
| Constructor and Description |
|---|
XDimAttribute() |
| Modifier and Type | Method and Description |
|---|---|
StringBuilder |
append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
boolean |
equals(Object object) |
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy) |
XMLGregorianCalendar |
getEndTime()
Gets the value of the endTime property.
|
XDimAttributes |
getHierarchy()
Gets the value of the hierarchy property.
|
Long |
getNumDistinctValues()
Gets the value of the numDistinctValues property.
|
XDimAttribute.RefSpec |
getRefSpec()
Gets the value of the refSpec property.
|
XMLGregorianCalendar |
getStartTime()
Gets the value of the startTime property.
|
String |
getType()
Gets the value of the type property.
|
List<String> |
getValues()
Gets the value of the values property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
boolean |
isJoinKey()
Gets the value of the joinKey property.
|
void |
setEndTime(XMLGregorianCalendar value)
Sets the value of the endTime property.
|
void |
setHierarchy(XDimAttributes value)
Sets the value of the hierarchy property.
|
void |
setJoinKey(Boolean value)
Sets the value of the joinKey property.
|
void |
setNumDistinctValues(Long value)
Sets the value of the numDistinctValues property.
|
void |
setRefSpec(XDimAttribute.RefSpec value)
Sets the value of the refSpec property.
|
void |
setStartTime(XMLGregorianCalendar value)
Sets the value of the startTime property.
|
void |
setType(String value)
Sets the value of the type property.
|
String |
toString() |
getDescription, getDisplayString, getName, setDescription, setDisplayString, setNamepublic XDimAttribute.RefSpec getRefSpec()
XDimAttribute.RefSpecpublic void setRefSpec(XDimAttribute.RefSpec value)
value - allowed object is
XDimAttribute.RefSpecpublic XDimAttributes getHierarchy()
XDimAttributespublic void setHierarchy(XDimAttributes value)
value - allowed object is
XDimAttributespublic List<String> getValues()
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 values property.
For example, to add a new item, do as follows:
getValues().add(newItem);
Objects of the following type(s) are allowed in the list
String
public String getType()
Stringpublic void setType(String value)
value - allowed object is
Stringpublic XMLGregorianCalendar getStartTime()
XMLGregorianCalendarpublic void setStartTime(XMLGregorianCalendar value)
value - allowed object is
XMLGregorianCalendarpublic XMLGregorianCalendar getEndTime()
XMLGregorianCalendarpublic void setEndTime(XMLGregorianCalendar value)
value - allowed object is
XMLGregorianCalendarpublic Long getNumDistinctValues()
Longpublic void setNumDistinctValues(Long value)
value - allowed object is
Longpublic boolean isJoinKey()
Booleanpublic void setJoinKey(Boolean value)
value - allowed object is
Booleanpublic StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
appendFields in interface org.jvnet.jaxb2_commons.lang.ToStringappendFields in class XFieldpublic boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
Copyright © 2014–2015 Apache Software Foundation. All rights reserved.