
package at.tugraz.sss.serv.datatype.api;

import at.tugraz.sss.serv.jsonld.*;
import at.tugraz.sss.serv.util.*;
import io.swagger.annotations.*;

@ApiModel
public class SSEntityA implements SSJSONLDPropI{

  @ApiModelProperty
  protected String val = null;

  @Override
  public Object jsonLDDesc() {
    throw new UnsupportedOperationException();
  }
  
  @Override 
  public String toString(){
    return val;
  }
  
  public SSEntityA(){/* Do nothing because of only JSON Jackson needs this */ }
  
  protected SSEntityA(final Object value){
    val = SSStrU.toStr(value);
  }
}

//  public static SSEntityA[] toArray(Collection<? extends SSEntityA> entities) {
//    return (SSEntityA[]) entities.toArray(new SSEntityA[entities.size()]);
//  }