Class V8Picture

java.lang.Object
com._1c.g5.v8.dt.md.pictures.V8Picture

public class V8Picture extends Object
V8 platforn picture.
  • Constructor Details

    • V8Picture

      public V8Picture(Picture picture)
      Constructor.
      Parameters:
      kind - the picture kind, cannot be null
      name - the font name, can be null
      compositeId - the composite id, can be null
      url - the url, can be null
      realPicture - the data, cannot be null
  • Method Details

    • create

      public static V8Picture create(Picture picture)
      Creates v8 picture.
      Parameters:
      picture - the mcore picture, cannot be null
      Returns:
      the v8 picture, cannot be null
    • create

      public static V8Picture create()
      Creates v8 picture.
      Parameters:
      picture - the mcore picture, cannot be null
      Returns:
      the v8 picture, cannot be null
    • getCompositeId

      public CompositeId getCompositeId()
      Returns composite id.
      Returns:
      the compositeId, can be null
    • getKind

      public PictureKind getKind()
      Returns picture kind.
      Returns:
      the picture kind.
    • getName

      public String getName()
      Returns picture name.
      Returns:
      the picture name, can be null
    • getPicture

      public Picture getPicture()
      Returns real end picture (not ref).
    • getUrl

      public String getUrl()
      Returns picture url.
      Returns:
      the url, can be null
    • setId

      public void setId(CompositeId compositeId)
      Sets picture composite id.
      Parameters:
      the - picture composite id, cannot be null
    • setKind

      public void setKind(PictureKind kind)
      Sets picture kind.
      Parameters:
      the - picture kind, cannot be null
    • setUrl

      public void setUrl(String url)
      Sets picture URL.
      Parameters:
      the - picture URL