@XmlAttribute(name = "date") protected String getDateXMLVariant() { if (this.date == null) { return null; } else { return Long.toString(date.getTime()); } }
@XmlAttribute public String getName() { return name; }
private QName calcXmlName(XmlAttribute att) { String uri; String local; uri = att.namespace(); local = att.name(); // compute the default if(local.equals("##default")) local = NameConverter.standard.toVariableName(getName()); if(uri.equals("##default")) { XmlSchema xs = reader().getPackageAnnotation( XmlSchema.class, parent.getClazz(), this ); // JAX-RPC doesn't want the default namespace URI swapping to take effect to // local "unqualified" elements. UGLY. if(xs!=null) { switch(xs.attributeFormDefault()) { case QUALIFIED: uri = parent.getTypeName().getNamespaceURI(); if(uri.length()==0) uri = parent.builder.defaultNsUri; break; case UNQUALIFIED: case UNSET: uri = ""; } } else uri = ""; } return new QName(uri.intern(),local.intern()); }
@XmlAttribute public String getAccess() { return access; }
@XmlAttribute public void setId(String id) { this.id = id; }
@XmlAttribute public String getVersion() { return "2.0"; }
@XmlAttribute public void setParentName(String parentName) { this.parentName = parentName; }
@XmlAttribute public String getTitle() {return title;}
/** * @return the current total write requests made to region */ @XmlAttribute public long getWriteRequestsCount() { return writeRequestsCount; }
@XmlAttribute public long getLength() { return length; }
/** * @return The total number of compacting key-values */ @XmlAttribute public long getTotalCompactingKVs() { return totalCompactingKVs; }
@XmlAttribute(name="function-type") public String getFunctionType() { return functionType; }
@XmlAttribute(name="max") public double getMax() { return max; }
@XmlAttribute public double getLat() { return lat; }
@XmlAttribute(name="cycle") public long getCycle() { return cycle; }
@XmlAttribute @XmlJavaTypeAdapter(DateFormatterAdapter.class) public Date getStale() { return stale; }
@XmlAttribute(name="exported",namespace="http://schemas.android.com/apk/res/android") public void setExp(String exp) { this.exp = exp; }
@XmlAttribute(name="permission",namespace="http://schemas.android.com/apk/res/android") public void setPermission(String permission) { this.permission = permission; }
/** * @return the number of rows that the scanner to fetch at once */ @XmlAttribute public int getCaching() { return caching; }
@XmlAttribute(name="exported",namespace="http://schemas.android.com/apk/res/android") public void setExported(boolean isExported) { this.isExported = isExported; }
@XmlAttribute public double getLon() { return lon; }
@XmlAttribute(name="protectionLevel",namespace="http://schemas.android.com/apk/res/android") public void setProtectionLevel(String protectionLevel) { this.protectionLevel = protectionLevel; }
@XmlAttribute @XmlJavaTypeAdapter(MimeTypeAdapter.class) public AtomLink setType(final MimeType type) { this.type = type; return this; }
@XmlAttribute(name="debuggable",namespace="http://schemas.android.com/apk/res/android") public void setDebuggable(boolean isDebuggable) { this.isDebuggable = isDebuggable; }
@XmlAttribute(name="scheme",namespace="http://schemas.android.com/apk/res/android") public void setScheme(String scheme) { this.scheme = scheme; }
@XmlAttribute public String getDomain() { return domain; }
@XmlAttribute(name="port",namespace="http://schemas.android.com/apk/res/android") public String getPort() { return port; }
@XmlAttribute public double getLe() { return le; }
/** * @return true if HFile blocks should be cached on the servers for this scan, false otherwise */ @XmlAttribute public boolean getCacheBlocks() { return cacheBlocks; }
/** * @return The number of current compacted key-values */ @XmlAttribute public long getCurrentCompactedKVs() { return currentCompactedKVs; }
@XmlAttribute(name="mimeType",namespace="http://schemas.android.com/apk/res/android") public String getMimeType() { return mimeType; }
/** * @return The current total size of root-level indexes for the region, in KB. */ @XmlAttribute public int getRootIndexSizeKB() { return rootIndexSizeKB; }
/** * @return the current heap size, in MB */ @XmlAttribute public int getHeapSizeMB() { return heapSizeMB; }
@XmlAttribute public double getCe() { return ce; }
@XmlAttribute public void setClass(String clazz) { this.clazz = clazz; }
@XmlAttribute public void setState(String state) { this.state = state; }