@Test public void getType() { final Metadata.DataType expected = Metadata.DataType.TEXT; ctx.currentResource("/content/metadata"); final Metadata metadata = ctx.request().adaptTo(Metadata.class); assertEquals(expected, metadata.getType()); }
@Override public DataType getType() { type = Metadata.DataType.fromString(typeString); return type; }
MetadataImpl extends AbstractEmptyTextComponent implements Metadata { @Override public DataType getType() { type = Metadata.DataType.fromString(typeString); return type; } }
MetadataImpl extends AbstractEmptyTextComponent implements Metadata { @Override public DataType getType() { type = Metadata.DataType.fromString(typeString); return type; }  }
MetadataImpl extends AbstractEmptyTextComponent implements Metadata { @Override public DataType getType() { type = Metadata.DataType.fromString(typeString); return type; }  @PostConstruct void init(); @Override DataType getType(); @Override String getLocale(); @Override String getFormat(); @Override ValueMap getProperties(); @Override AssetModel getAsset(); @Override String getPropertyName(); @Override boolean isEmpty(); @Override boolean isReady(); @Nonnull @Override String getExportedType(); }
MetadataImpl extends AbstractEmptyTextComponent implements Metadata { @Override public DataType getType() { type = Metadata.DataType.fromString(typeString); return type; }  @PostConstruct void init(); @Override DataType getType(); @Override String getLocale(); @Override String getFormat(); @Override ValueMap getProperties(); @Override AssetModel getAsset(); @Override String getPropertyName(); @Override boolean isEmpty(); @Override boolean isReady(); @Nonnull @Override String getExportedType();  }