public void setTypeMapping(TypeMapping typeMapping) { baseType.setTypeMapping(typeMapping); }
public void setTypeMapping(TypeMapping typeMapping) { baseType.setTypeMapping(typeMapping); }
@Override public void setTypeMapping(TypeMapping typeMapping) { super.setTypeMapping(typeMapping); if (info != null) { // this seems dangerous .. what if the type info is later created, it won't be passed the mapping. info.setTypeMapping(typeMapping); } }
@Override public void setTypeMapping(TypeMapping typeMapping) { super.setTypeMapping(typeMapping); if (info != null) { // this seems dangerous .. what if the type info is later created, it won't be passed the mapping. info.setTypeMapping(typeMapping); } }
/** * {@inheritDoc} */ public void register(AegisType type) { type.setTypeMapping(this); if (type.getType() != null) { class2xml.put(type.getType(), type.getSchemaType()); class2Type.put(type.getType(), type); } if (type.getSchemaType() != null) { xml2Type.put(type.getSchemaType(), type); } if (type.getType() == null && type.getSchemaType() == null) { LOG.warning("The type " + type.getClass().getName() + " supports neither serialization (non-null TypeClass)" + " nor deserialization (non-null SchemaType)."); } }
/** * {@inheritDoc} */ public void register(AegisType type) { type.setTypeMapping(this); if (type.getType() != null) { class2xml.put(type.getType(), type.getSchemaType()); class2Type.put(type.getType(), type); } if (type.getSchemaType() != null) { xml2Type.put(type.getSchemaType(), type); } if (type.getType() == null && type.getSchemaType() == null) { LOG.warning("The type " + type.getClass().getName() + " supports neither serialization (non-null TypeClass)" + " nor deserialization (non-null SchemaType)."); } }
type.setTypeMapping(getTypeMapping());
type.setTypeMapping(getTypeMapping());
tm.register(type); type.setTypeMapping(tm);
tm.register(type); type.setTypeMapping(tm);