/* * Copyright (C) 2006-2016 DLR, Germany * * All rights reserved * * http://www.rcenvironment.de/ */ package de.rcenvironment.core.datamodel.types.api; import de.rcenvironment.core.datamodel.api.TypedDatum; /** * A string of limited length. The rationale for the length restriction is to avoid RAM shortage * from handling arbitrary-sized data as strings. Large string data should be handled via * {@link #FileReference} instead, using temporary files or direct data management upload if needed. * * Maximum character: 140 * * @author Robert Mischke * @author Doreen Seider */ public interface ShortTextTD extends TypedDatum { /** * @return short text value of this {@link TypedDatum} */ String getShortTextValue(); /** * @param maxLength maximum length of string representation * @return string representation */ String toLengthLimitedString(int maxLength); }