https://drive.google.com/file/d/1WvadErM-1ffp8gm2LcdqdMrtZ0gv3fJv/view?usp=sharing here is my code i want output like in given image which shows categories of media ,show up name in each log time etc Question Read the following scenario: Code&Code is a small company dedicated to Software Development. Their engineering team, to which you belong, is working on writing a Web Application as an MVP for a new customer. The code name for this App is “Loggy”, which is meant to offer functionality for a personal journal where users can log their daily activities through text, voice and video. The first step will be to write the main functionality, which is essentially a Microblogging System where all the posts are automatically annotated with voice, video or text. As an initial step, you must create the skeleton of the model for the core Microblogging System under these assumptions: Activity logs recorded only by one user. Each log is dated with a timestamp that is used as the key for displaying it in the feed Each log should have a name, a description and a date. Each log has attached the actual content, which can be plain text, an image, an audio file or a video file The audio and video files are supported in multiple formats as they are recorded in through the browser and uploaded to the server using WebRTC API. The images are also supported in multiple formats.   Task Main class Write a Main class that you will use as the simulator for testing your Classes Abstraction (Classes, Objects and Interfaces) Write the class log that will be used as a base for the modeling. The class log is an abstraction of what logs can do: create, read, update, and delete. Logs also include specific characteristics like name, description and date. They also include, by default, a unique internal ID and a unique short code (in the form abc-abc-abc) is assigned. Implement some mockup output for the methods create, read, update, delete. Instances of the class log should be created assigning one, some or none of the attributes. Write constructors. Encapsulation (Classes, Objects and Interfaces) The properties should only be accessible through member methods. Write methods for accessing the data. Inheritance (Extends) As there may be different types of logs and every one of them have their own characteristics, extend the class log as TextLog, PhotoLog, AudioLog and VideoLog and assign some validation for the content such as size and type that corresponds to the log type and triggers an error if the size limit is reached or if an invalid type is submitted when these values are set.     Polymorphism (Extends) Text, Image and Video and Audio may have different formats. Override the method for validation accordingly. When saving the attachment, a special action like transcoding, automatic translation, automatic close captioning etc… can be triggered. Text for example can only be translated. Images can be annotated. Video and Audio can be transcoded and close-captioned. Implement in the super class the support for those actions and extend the derivate classes for supporting one of them. Composition (HAS_A) Generalize the implementation of the actions using an Interface and concrete classes per feature, which should be incorporated into the sub classes in a composition.

Microsoft Visual C#
7th Edition
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Joyce, Farrell.
Chapter14: Files And Streams
Section: Chapter Questions
Problem 4RQ
icon
Related questions
Question

https://drive.google.com/file/d/1WvadErM-1ffp8gm2LcdqdMrtZ0gv3fJv/view?usp=sharing

here is my code i want output like in given image which shows categories of media ,show up name in each log time etc

Question
Read the following scenario:

Code&Code is a small company dedicated to Software Development. Their engineering team, to which you belong, is working on writing a Web Application as an MVP for a new customer.

The code name for this App is “Loggy”, which is meant to offer functionality for a personal journal where users can log their daily activities through text, voice and video.

The first step will be to write the main functionality, which is essentially a Microblogging System where all the posts are automatically annotated with voice, video or text.

As an initial step, you must create the skeleton of the model for the core Microblogging System under these assumptions:

  • Activity logs recorded only by one user.
  • Each log is dated with a timestamp that is used as the key for displaying it in the feed
  • Each log should have a name, a description and a date.
  • Each log has attached the actual content, which can be plain text, an image, an audio file or a video file
  • The audio and video files are supported in multiple formats as they are recorded in through the browser and uploaded to the server using WebRTC API.
  • The images are also supported in multiple formats.

 

Task

Main class

  • Write a Main class that you will use as the simulator for testing your Classes

Abstraction (Classes, Objects and Interfaces)

  • Write the class log that will be used as a base for the modeling. The class log is an abstraction of what logs can do: create, read, update, and delete. Logs also include specific characteristics like name, description and date. They also include, by default, a unique internal ID and a unique short code (in the form abc-abc-abc) is assigned.
  • Implement some mockup output for the methods create, read, update, delete.
  • Instances of the class log should be created assigning one, some or none of the attributes. Write constructors.

Encapsulation (Classes, Objects and Interfaces)

  • The properties should only be accessible through member methods. Write methods for accessing the data.

Inheritance (Extends)

  • As there may be different types of logs and every one of them have their own characteristics, extend the class log as TextLog, PhotoLog, AudioLog and VideoLog and assign some validation for the content such as size and type that corresponds to the log type and triggers an error if the size limit is reached or if an invalid type is submitted when these values are set.

 

 

Polymorphism (Extends)

  • Text, Image and Video and Audio may have different formats. Override the method for validation accordingly.
  • When saving the attachment, a special action like transcoding, automatic translation, automatic close captioning etc… can be triggered. Text for example can only be translated. Images can be annotated. Video and Audio can be transcoded and close-captioned. Implement in the super class the support for those actions and extend the derivate classes for supporting one of them.

Composition (HAS_A)

  • Generalize the implementation of the actions using an Interface and concrete classes per feature, which should be incorporated into the sub classes in a composition.
<terminated> Main [Java Application] C:\Program Files\Java\jre-10.0.2\bin\javaw.exe (May 21, 2021, 4:15:08 p.m.)
**Demo file uploader
What type of file are you uploading? V=video, A=audio, P=photo, T=text
What format is your file?
JPG
what size is your file? (Limit: 2000MB)
200
**Demo Log constructor
Enter name of post:
ORACIÓ
Enter brief description:
MORNING BREAKFEAST
log Type: P
Post photo: 0
Post name: ORACIÓ
Post description: MORNING
Post date: Fri May 21 16:15:44 EDT 2021
Post timestamp: 1621628144276
Post id: 0
Post code: AAA-AAA-AAA
Transcribed Image Text:<terminated> Main [Java Application] C:\Program Files\Java\jre-10.0.2\bin\javaw.exe (May 21, 2021, 4:15:08 p.m.) **Demo file uploader What type of file are you uploading? V=video, A=audio, P=photo, T=text What format is your file? JPG what size is your file? (Limit: 2000MB) 200 **Demo Log constructor Enter name of post: ORACIÓ Enter brief description: MORNING BREAKFEAST log Type: P Post photo: 0 Post name: ORACIÓ Post description: MORNING Post date: Fri May 21 16:15:44 EDT 2021 Post timestamp: 1621628144276 Post id: 0 Post code: AAA-AAA-AAA
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Image Element
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,