/** * Gets the type class. * * @return the type class */ @Transient @XmlAttribute(name="class") public String getTypeClass() { return m_attributeType.getAttributeClass(); }
/** * Gets the attribute class. * * @param typeName the type name * @return the attribute class */ public String getAttributeClass(String typeName) { final OnmsHwEntityAttribute attr = getAttribute(typeName); return attr == null ? null : attr.getType().getAttributeClass(); }